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
automatically only run cargo bench when supported (nightly compiler)
Is that still true? cargo bench seemed to work just fine with stable rust (1.6). Are there any other reasons why cargo bench should run only on nightly?
The current behaviour causes issues like olivedae/harald#7 and needs workarounds like #33.
The text was updated successfully, but these errors were encountered:
The test crate and hence the test::Bencher type needed from it for benchmarks are unstable, and hence can only be used with a nightly compiler. (Note the automatic unstable feature passing is somewhat orthogonal to this: one can place benchmarks externally in benches/*.rs and hence benchmarks don't need #[cfg(feature = "...")] at all.)
The readme says:
Is that still true?
cargo bench
seemed to work just fine with stable rust (1.6). Are there any other reasons whycargo bench
should run only on nightly?The current behaviour causes issues like olivedae/harald#7 and needs workarounds like #33.
The text was updated successfully, but these errors were encountered: