Skip to content
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

With Rust 1.26 parking_lot_core fails to compile #87

Closed
nobleach opened this issue May 29, 2018 · 1 comment
Closed

With Rust 1.26 parking_lot_core fails to compile #87

nobleach opened this issue May 29, 2018 · 1 comment

Comments

@nobleach
Copy link

While attempting to fire up the very core demo project from the actix.rs website, I'm getting a compile error:

error[E0432]: unresolved import `std::sync::atomic::spin_loop_hint`
  --> /Users/jimwharton/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.2.14/src/spinwait.rs:14:5
   |
14 | use std::sync::atomic::spin_loop_hint;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `spin_loop_hint` in `sync::atomic`

   Compiling tempdir v0.3.7
error: aborting due to previous error

error: Could not compile `parking_lot_core`.
warning: build failed, waiting for other jobs to finish...
error: build failed

I've done a bit of looking around, but I'm not seeing any real leads. I'm using stable. The only dep in my Cargo.toml is actix-web = "0.6"

@nobleach
Copy link
Author

Apparently, I still had a brew install of rust sitting in my path. rustc --version showed v1.21. My apologies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant