Merge "Remove the last allow-listed unstable features"

This commit is contained in:
Treehugger Robot
2023-05-31 23:27:25 +00:00
committed by Gerrit Code Review
2 changed files with 1 additions and 4 deletions

View File

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

View File

@@ -51,9 +51,6 @@ var (
// Use v0 mangling to distinguish from C++ symbols
"-C symbol-mangling-version=v0",
"--color always",
// TODO (b/267698452): Temporary workaround until the "no unstable
// features" policy is enforced.
"-A stable-features",
"-Zdylib-lto",
}