Merge "Remove slice_internals from features allow list"
This commit is contained in:
@@ -255,7 +255,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,slice_internals\"")
|
rustcFlags = append(rustcFlags, "-Zallow-features=\"default_alloc_error_handler,custom_inner_attributes,mixed_integer_ops\"")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Collect linker flags
|
// Collect linker flags
|
||||||
|
Reference in New Issue
Block a user