Merge "Remove stable feature from allowed features list" am: 8e6d5f208a

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2513923

Change-Id: I0b5216d8da521f92fc33ab296cf50bf89b75c7dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Chris Wailes
2023-03-30 17:24:48 +00:00
committed by Automerger Merge Worker

View File

@@ -256,7 +256,7 @@ func transformSrctoCrate(ctx ModuleContext, main android.Path, deps PathDeps, fl
// Disallow experimental features // Disallow experimental features
modulePath := android.PathForModuleSrc(ctx).String() modulePath := android.PathForModuleSrc(ctx).String()
if !(android.IsThirdPartyPath(modulePath) || strings.HasPrefix(modulePath, "prebuilts")) { if !(android.IsThirdPartyPath(modulePath) || strings.HasPrefix(modulePath, "prebuilts")) {
rustcFlags = append(rustcFlags, "-Zallow-features=\"default_alloc_error_handler,custom_inner_attributes,mixed_integer_ops\"") rustcFlags = append(rustcFlags, "-Zallow-features=\"custom_inner_attributes,mixed_integer_ops\"")
} }
// Collect linker flags // Collect linker flags