We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a7383 commit 83a4f81Copy full SHA for 83a4f81
rust/Makefile
@@ -340,8 +340,8 @@ $(objtree)/rust/kernel.o: $(srctree)/rust/kernel/lib.rs $(objtree)/rust/alloc.o
340
# Targets that need to expand twice
341
.SECONDEXPANSION:
342
$(objtree)/rust/core.o: private skip_clippy = 1
343
-$(objtree)/rust/core.o: private skip_flags = -Dunreachable_pub
344
-$(objtree)/rust/core.o: private rustc_target_flags = $(core-cfgs)
+$(objtree)/rust/core.o: private skip_flags = -Dunreachable_pub --edition=2021
+$(objtree)/rust/core.o: private rustc_target_flags = $(core-cfgs) --edition=2018
345
$(objtree)/rust/core.o: $$(RUST_LIB_SRC)/core/src/lib.rs FORCE
346
$(call if_changed_dep,rustc_library)
347
0 commit comments