1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

makefiles/rust: Show the exported environment in make info-rust

Contributes-To: https://github.com/RIOT-OS/RIOT/issues/20088
This commit is contained in:
chrysn 2024-01-31 17:15:08 +01:00
parent 740f7c7708
commit 4005235976

View File

@ -251,3 +251,8 @@ info-programmers-supported:
info-rust:
cargo version
c2rust --version
@echo "To use this setup of Rust in an IDE, add these command line arguments to the \`cargo check\` or \`rust-analyzer\`:"
@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)\""