Skip to content

Commit 3be16cd

Browse files
authored
Merge pull request #587 from ojeda/no-try-reserve
rust: kbuild: remove `try_reserve` from allowed features
2 parents 402f419 + ec634a9 commit 3be16cd

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
@@ -335,7 +335,7 @@ quiet_cmd_rustc_o_rs = $(RUSTC_OR_CLIPPY_QUIET) $(quiet_modtag) $@
335335
cmd_rustc_o_rs = \
336336
RUST_MODFILE=$(modfile) \
337337
$(RUSTC_OR_CLIPPY) $(rust_flags) $(rust_cross_flags) \
338-
-Zallow-features=allocator_api,bench_black_box,concat_idents,global_asm,try_reserve,generic_associated_types \
338+
-Zallow-features=allocator_api,bench_black_box,concat_idents,generic_associated_types,global_asm \
339339
--extern alloc --extern kernel \
340340
--crate-type rlib --out-dir $(obj) -L $(objtree)/rust/ \
341341
--crate-name $(patsubst %.o,%,$(notdir $@)) $<; \

0 commit comments

Comments
 (0)