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
A-CLIArea: Command-line interface (CLI) to the compilerA-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-needs-summaryStatus: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
This is intended to be a tracking issue for the profiling feature, built on the gcov-style support in LLVM first added in #38608 and later rebased in #42433.
Reacted by Stanislav Tkach, Daniel Fitzpatrick, Charles Samborski and Cathal
Reacted by Alex Gaynor, Evgeniy Dushistov, Val Packett, Yusuf Simonson, Bruno Bigras, Roy Wellington, Sven Wagner-Boysen and Jakub Beránek
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.
A-CLIArea: Command-line interface (CLI) to the compilerA-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-needs-summaryStatus: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
Activity
steveklabnik commentedon Dec 25, 2019
Triage: not aware of any major move to stabilize this.
glandium commentedon Feb 7, 2020
Is it expected that this doesn't work with --release?
tylerhawkes commentedon Oct 8, 2020
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.
Rollup merge of rust-lang#131829 - Zalathar:goodbye-zprofile, r=cheny…
Rollup merge of rust-lang#131829 - Zalathar:goodbye-zprofile, r=cheny…
Rollup merge of rust-lang#131829 - Zalathar:goodbye-zprofile, r=cheny…
Unrolled build for rust-lang#131829
workingjubilee commentedon Nov 9, 2024
Removed: #131829
whitequark commentedon Nov 9, 2024
Aw, that's unfortunate.
tshepang commentedon Nov 9, 2024
@whitequark why so
whitequark commentedon Nov 9, 2024
As far as I understand there's no replacement?
tshepang commentedon Nov 9, 2024
was thinking this was for branch coverage, which has since been implemented
whitequark commentedon Nov 9, 2024
Oh. I missed that then!
workingjubilee commentedon Nov 9, 2024
@whitequark Yes,
-Cinstrument-coverageshould work and supports the llvm-cov style of handling coverage: https://doc.rust-lang.org/nightly/rustc/instrument-coverage.htmlwhitequark commentedon Nov 10, 2024
Oh that's fantastic work =^_^=