-
Notifications
You must be signed in to change notification settings - Fork 27
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
The last version cannot bench on 1.20 anymore #43
Comments
Hey, thanks for letting me know. Criterion.rs officially supports building on the last three stable releases of Rust, so that would be 1.25 or later. I've tested it, and (for now, at least) Criterion.rs 0.2.4 can build on 1.20 if you disable the I'll try not to break that without good reason, but I can't keep supporting old versions of Rust forever. 1.20 is nearly a year old at this point. Since Criterion.rs is a development-only dependency, it doesn't affect the minimum version required by |
|
@bheisler thank you, I'll have to revisit our CI config – I thought I had disabled HTML generation, but somehow it seems to pull it in regardless. |
I inadvertently restored |
@llogiq There's something happening here again, https://travis-ci.org/llogiq/bytecount/builds/459144098. Not sure what's up, but I haven't investigated yet. |
I suspect it now uses a newer version of lazy_static, which appears to use a const fn, which wasn't stable then. |
Could this crate drop support for Rust 1.20 now? The requirement of old lazy_static is problematic for projects using criterion. |
Note that it will still build alright on that version, but I had to switch to a criterion version which appears not to support compiling without quote etc. which fails on 1.20.
cc @bheisler
The text was updated successfully, but these errors were encountered: