You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If crate's build script uses cc crate for compiling then CC_ENABLE_DEBUG_OUTPUT=1 cargo build -vv gives very details output of all of the commands run with flags so it's easy to see flags passed to the compiler. Is the anything similar for project using Bazel instead of Cargo?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there!
If crate's build script uses
cc
crate for compiling thenCC_ENABLE_DEBUG_OUTPUT=1 cargo build -vv
gives very details output of all of the commands run with flags so it's easy to see flags passed to the compiler. Is the anything similar for project using Bazel instead of Cargo?To the place where https://bazelbuild.github.io/rules_rust/cargo.html#cargo_build_script is used I've added :
I see that env var is being passed while executing build script:
but I still don't see command executed under the hood.
Beta Was this translation helpful? Give feedback.
All reactions