Tracking issue for `-Z profile`
alexcrichton opened this issue ยท 11 comments
Triage: not aware of any major move to stabilize this.
Is it expected that this doesn't work with --release?
Is there a way to change the path that the tests output to? I want to use this on some code that is cross compiled and needs to run on a device that only has a few writable paths. I'm currently getting this to work by replacing /target/aarch64... with ./arget/aarch64... in the binary since we can't change the length of the string.
I've never worked on the compiler before, but an option for this would be very useful.
Removed: #131829
Aw, that's unfortunate.
@whitequark why so
As far as I understand there's no replacement?
was thinking this was for branch coverage, which has since been implemented
Oh. I missed that then!
@whitequark Yes, -Cinstrument-coverage should work and supports the llvm-cov style of handling coverage: https://doc.rust-lang.org/nightly/rustc/instrument-coverage.html
Oh that's fantastic work =^_^=