Skip to content

Commit 7b73364

Browse files
hoshinolinajannau
authored andcommitted
rust: Allow feature allocator_api
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 8e57d71 commit 7b73364

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/Makefile.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ $(obj)/%.lst: $(obj)/%.c FORCE
248248
# Compile Rust sources (.rs)
249249
# ---------------------------------------------------------------------------
250250

251-
rust_allowed_features := arbitrary_self_types,lint_reasons,type_alias_impl_trait
251+
rust_allowed_features := allocator_api,arbitrary_self_types,lint_reasons,type_alias_impl_trait
252252

253253
# `--out-dir` is required to avoid temporaries being created by `rustc` in the
254254
# current working directory, which may be not accessible in the out-of-tree

0 commit comments

Comments
 (0)