Display cargo constructed rustc command


#1

Hello,

I want to see the generated rustc command created by cargo.

I recall seeing this once before, sadly I forgot how to do it and searching is failing.

kr/sjm


#2

You can use cargo build --verbose to see the rustc commands it runs.


#3

Not this one, it should show rustc -L dependency= --crate-name ... etc etc your suggestion of --verbose just shows dependencies.


#4
cargo build -vv