-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Build error: use of unstable library feature 'renamed_spin_loop' #60
Comments
I ran in to this as well. In our case the fix appears to be to update the Rust version. |
I'm also running into this issue with Quinn's CI, which has 1.47 as the MSRV. According to the docs |
* Use deprecated `std::atomic::spin_loop_hint()` to support older Rust * Match tracing MSRV in CI Fixes #60.
Thanks, sorry about that --- I wasn't thinking when I was trying to fix the deprecation warning yesterday. Getting ready to release 0.1.3 to fix the MSRV build. |
Okay, I've published v0.1.3 and yanked v0.1.2. Again, sorry for the inconvenience! |
Hello,
I am getting a build error when using sharded-slab v0.1.2. It was caused by "hint::spin_loop()" on line 909 in src/page/slot.rs. The error was:
error[E0658]: use of unstable library feature 'renamed_spin_loop'
--> ...../sharded-slab-0.1.2/src/page/slot.rs:909:9
note: see issue #55002 rust-lang/rust#55002 for more information
error: aborting due to previous error
Please could you fix the cause of this error, or let me know if you think this was caused by a mistake on my end? Thank you!
Environment info:
rustup unchanged - 1.24.3
info: latest update on 2021-07-29, rust version 1.54.0 (a178d0322 2021-07-26)
The text was updated successfully, but these errors were encountered: