Skip to content

Commit

Permalink
makefiles/rust: Remove RIOT_USEMODULE
Browse files Browse the repository at this point in the history
The latest versions of riot-wrappers and riot-sys do not require it any
more, and the exported data from info-rust is thus much more stable.
  • Loading branch information
chrysn committed Feb 1, 2024
1 parent 16153d7 commit 9a59d59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion makefiles/cargo-targets.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down
2 changes: 1 addition & 1 deletion makefiles/info.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)\""

0 comments on commit 9a59d59

Please sign in to comment.