Skip to content

Commit ec634a9

Browse files
committed
rust: kbuild: remove try_reserve from allowed features
And take the chance to sort them too. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 402f419 commit ec634a9

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)