diff options
| author | 2023-03-30 06:36:12 +0000 | |
|---|---|---|
| committer | 2023-03-30 06:36:12 +0000 | |
| commit | 8e6d5f208aedd35a5884a9f150152840b02e927f (patch) | |
| tree | 5dfed92cbcdb1e583ee7406d7550f245784fd5c3 /rust/builder.go | |
| parent | bc2906efefa0711d952da85d7d558e398e557994 (diff) | |
| parent | fef4a028058267f7d0f5e65cf405af732621d96a (diff) | |
Merge "Remove stable feature from allowed features list"
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 |