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
I was wondering though if this is actually wanted. I dont know if people are using those variables from the binary and not during compilation, my use case might be too specific and i can easily work without this
Yeah, I do think those variables are mainly intended for compilation time. Since flamegraph doesn't try to compile (it only reuses the Cargo metadata to find compilation targets IIRC), I don't think it would really apply here?
When using
cargo run
normally, cargo sets environment variables that can be detected from the binaryhttps://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates
Would be nice if running via
cargo flamegraph
would do sameThe text was updated successfully, but these errors were encountered: