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

Fail to build on macOS M2 #58

Closed
tisonkun opened this issue Feb 17, 2024 · 2 comments
Closed

Fail to build on macOS M2 #58

tisonkun opened this issue Feb 17, 2024 · 2 comments

Comments

@tisonkun
Copy link

error[E0658]: use of unstable library feature 'stdsimd'
  --> /Users/tison/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32c-0.6.5/src/hw_aarch64.rs:50:33
   |
50 |         .fold(crc, |crc, &next| simd::__crc32cb(crc, next))
   |                                 ^^^^^^^^^^^^^^^
   |
   = note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information
   = help: add `#![feature(stdsimd)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'stdsimd'
  --> /Users/tison/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32c-0.6.5/src/hw_aarch64.rs:62:5
   |
62 |     simd::__crc32cd(crc, next)
   |     ^^^^^^^^^^^^^^^
   |
   = note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information
   = help: add `#![feature(stdsimd)]` to the crate attributes to enable

error[E0635]: unknown feature `stdarch_arm_crc32`
  --> /Users/tison/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32c-0.6.5/src/lib.rs:23:60
   |
23 | #![cfg_attr(all(target_arch = "aarch64", nightly), feature(stdarch_arm_crc32))]
   |                                                            ^^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0635, E0658.
For more information about an error, try `rustc --explain E0635`.
error: could not compile `crc32c` (lib) due to 3 previous errors
$ rustc --version    
rustc 1.76.0-nightly (3f28fe133 2023-12-18)
$ uname -a
Darwin tisondeMacBook-Pro.local 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:19 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6020 arm64
@tisonkun
Copy link
Author

Fixed when I use a newer rustc, specifically, it's rustc 1.78.0-nightly (98aa3624b 2024-02-08)

@tisonkun tisonkun closed this as not planned Won't fix, can't repro, duplicate, stale Feb 17, 2024
@zowens
Copy link
Owner

zowens commented Feb 22, 2024

Sorry for the delay, yes I updated to the latest nightly for the most recent version in #56

sourcefrog added a commit to sourcefrog/conserve that referenced this issue Aug 12, 2024
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

2 participants