diff options
author | 2023-05-31 11:53:44 -0700 | |
---|---|---|
committer | 2023-05-31 11:53:44 -0700 | |
commit | 547bfdd1d151d04b4325a9b53e545592dcd7856d (patch) | |
tree | 9dfb6618a3bdaf284e951736c9e4cd388b5f7985 /rust/builder.go | |
parent | 0cb8770989785aecc90ca2510c1dfb6c3859eb7a (diff) |
Remove the last allow-listed unstable features
This CL removes the custom_inner_attributes and mixed_integer_ops
features from the allow-list. This also allows us to remove the `-A
stable-features` flag.
Bug: 267698452
Test: m rust
Change-Id: I4770c2e9477337f112732c354bf477a99d11a467
Diffstat (limited to 'rust/builder.go')
-rw-r--r-- | rust/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/builder.go b/rust/builder.go index 0aa2225f7..0dfaef49f 100644 --- a/rust/builder.go +++ b/rust/builder.go @@ -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 |