-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README.md: Command line example does not work with rustc nightly 2020-04-30 #427
Comments
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
So is it safe if we just remove |
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
Hey guys, I also encountered this issue and removed Any idea? |
`-Zno-landing-pads` was removed from nightly recently (rust-lang/rust#70175), which seems to mess up grcov reports (mozilla/grcov#427). Even after figuring out how to set `panic=abort` on all the correct profiles, it seems that it still reports odd numbers relative to when `-Zno-landing-pads` worked. Switch to [tarpaulin](https://github.com/xd009642/tarpaulin) for now which has also caught my eye recently.
Quite strange..., could you file a bug and attached a lcov.info file (if possible the one generated in your CI) ? |
Yep it's safe to remove |
I just read the rustc patch and it seems that |
The coverage job requires setting the -Zno-landing-pads flag, however on the current version of rust nightly this flag has been removed (see: rust-lang/rust#70175) and the job is no longer working. This commit works around this by removing the flag to fix the job (see mozilla/grcov#427 for more details).
The coverage job requires setting the -Zno-landing-pads flag, however on the current version of rust nightly this flag has been removed (see: rust-lang/rust#70175) and the job is no longer working. This commit works around this by removing the flag to fix the job (see mozilla/grcov#427 for more details).
I managed to run tests for pyo3 in using |
So, when fixing the problem by dropping Currently, to avoid problems or code coverage drops, my workaround for uutils/coreutils is pinning the rust version to the last working toolchain ( |
@rivy please make a try. |
@calixteman , Ok, will do ... |
Great, thank you for investigating that! |
`no-landing-pads` was removed from rust nightly. mozilla/grcov#427 and rust-lang/rust#70175
…nightly toolchain ## [why] Code coverage must currently use some unstable features in nightly rust builds. The nightly builds are, by definition, unstable and subject to frequent breaking changes. To prevent CI build breakage, the toolchain is pinned to a specific known working set. Note: (maint!) this will require periodic review until code coverage is more fully implemented/integrated into Rust and moved into the stable channel. - refs: <mozilla/grcov#427>, <newsboat/newsboat#916>
The following command line option no longer works with rustc nightly due to the removal of the
-Zno-landing-pads
option (rust-lang/rust#70175)The text was updated successfully, but these errors were encountered: