Skip to content

Is it intended behavior for cargo-make not to use environment variable defined in the executing environment? #1169

Answered by wmmc88
wmmc88 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reminding me about #1059 (comment). I reread the threads, and it looks like the original recommendation from rustup was to clear CARGO, RUSTC, and RUSTDOC, but in the original fix, you added code to reset RUSTC, RUSTDOC and RUSTFLAGS. I think that to fix this, RUSTFLAGS needs to be removed from the list of vars to clear (as it shouldn't have been there in the first place).

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@wmmc88
Comment options

Answer selected by wmmc88
@sagiegurari
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants