Skip to content

Commit e7b22cf

Browse files
committed
rust: remove workaround for ICE on --extern macros
rust-lang/rust#56935 was closed via rust-lang/rust#86876. Suggested-by: bjorn3 <bjorn3_gh@protonmail.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 550ab58 commit e7b22cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rust/Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,9 @@ $(objtree)/rust/build_error.o: $(srctree)/rust/build_error.rs \
329329
$(objtree)/rust/compiler_builtins.o FORCE
330330
$(call if_changed_dep,rustc_library)
331331

332-
# ICE on `--extern macros`: https://github.com/rust-lang/rust/issues/56935
333332
$(objtree)/rust/kernel.o: private rustc_target_flags = --extern alloc \
334333
--extern build_error \
335-
--extern macros=$(objtree)/rust/libmacros.so
334+
--extern macros
336335
$(objtree)/rust/kernel.o: $(srctree)/rust/kernel/lib.rs $(objtree)/rust/alloc.o \
337336
$(objtree)/rust/build_error.o \
338337
$(objtree)/rust/libmacros.so $(objtree)/rust/bindings_generated.rs \

0 commit comments

Comments
 (0)