diff --git a/makefiles/cargo-targets.inc.mk b/makefiles/cargo-targets.inc.mk index ca49b157cc..47fa12214e 100644 --- a/makefiles/cargo-targets.inc.mk +++ b/makefiles/cargo-targets.inc.mk @@ -62,7 +62,6 @@ $(CARGO_LIB): $(RIOTBUILD_CONFIG_HEADER_C) $(BUILDDEPS) $(CARGO_COMPILE_COMMANDS @# finally call out to cargo. mind the "+" to pass down make's jobserver. $(Q)+ CC= CFLAGS= CPPFLAGS= CXXFLAGS= \ RIOT_COMPILE_COMMANDS_JSON="$(CARGO_COMPILE_COMMANDS)" \ - RIOT_USEMODULE="$(USEMODULE)" \ cargo \ build \ --target $(RUST_TARGET) \ diff --git a/makefiles/info.inc.mk b/makefiles/info.inc.mk index 9149479c68..fdaff029e0 100644 --- a/makefiles/info.inc.mk +++ b/makefiles/info.inc.mk @@ -255,4 +255,4 @@ info-rust: @echo " --target $(RUST_TARGET) --profile $(CARGO_PROFILE)" @echo "and export these environment variables:" @echo " RIOT_COMPILE_COMMANDS_JSON=\"$(CARGO_COMPILE_COMMANDS)\"" - @echo " RIOT_USEMODULE=\"$(USEMODULE)\"" + @echo " RIOTBUILD_CONFIG_HEADER_C=\"$(RIOTBUILD_CONFIG_HEADER_C)\""