diff options
author | 2023-03-29 16:18:04 -0700 | |
---|---|---|
committer | 2023-03-29 16:18:04 -0700 | |
commit | fef4a028058267f7d0f5e65cf405af732621d96a (patch) | |
tree | c2715e39def5f0387b1bece1db4f952343906fa8 /rust/builder.go | |
parent | f1e0ce079cecb1d9851140f9a52bc96c551887eb (diff) |
Remove stable feature from allowed features list
This CL removes the `default_alloc_error_handler` feature from the
allowed feature set passed to rustc. This feature was stabilized in
Rust 1.68.0 and now that that has been deployed we can remove the
feature annotations from our codebase.
Bug: 267698452
Test: m rust
Change-Id: Ifc543ec83d3221cc8bcb6c83658abe09696b51ea
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 09dfe029c..b89e7ad0a 100644 --- a/rust/builder.go +++ b/rust/builder.go @@ -256,7 +256,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=\"default_alloc_error_handler,custom_inner_attributes,mixed_integer_ops\"") + rustcFlags = append(rustcFlags, "-Zallow-features=\"custom_inner_attributes,mixed_integer_ops\"") } // Collect linker flags |