-
Notifications
You must be signed in to change notification settings - Fork 770
Closed
Description
Hi, after I rustup update
today and cargo clean
my project, I get the following issue:
Checking ring v0.16.20
error: no rules expected the token `aarch64_apple`
--> /root/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/ring-0.16.20/src/cpu.rs:257:13
|
165 | macro_rules! features {
| --------------------- when calling this macro
...
257 | aarch64_apple: true,
| ^^^^^^^^^^^^^ no rules expected this token in macro call
error[E0425]: cannot find value `AES` in module `cpu::arm`
--> /root/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/ring-0.16.20/src/aead/aes.rs:381:65
|
381 | if cpu::intel::AES.available(cpu_features) || cpu::arm::AES.available(cpu_features) {
| ^^^ not found in `cpu::arm`
|
help: consider importing this constant
|
15 | use crate::cpu::intel::AES;
|
error[E0425]: cannot find value `PMULL` in module `cpu::arm`
--> /root/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/ring-0.16.20/src/aead/gcm.rs:315:26
|
315 | || cpu::arm::PMULL.available(cpu_features)
| ^^^^^ not found in `cpu::arm`
error[E0425]: cannot find value `ARMCAP_STATIC` in this scope
--> /root/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/ring-0.16.20/src/cpu.rs:235:41
|
235 | if self.mask == self.mask & ARMCAP_STATIC {
| ^^^^^^^^^^^^^ not found in this scope
This happens under the latest nightly Rust (1.61.0, 9f4dc0b4d 2022-03-23), and I'm not sure if it's ok to report here.
I don't use ring crate as a direct dependency in my project, and I always use nightly Rust.
When I switch to stable Rust, everything goes pretty well just like before rustup updates.
Here is the rustup info:
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.59.0 (9d1b2106e 2022-02-23)
nightly-x86_64-unknown-linux-gnu updated - rustc 1.61.0-nightly (9f4dc0b4d 2022-03-23) (from rustc 1.61.0-nightly (6a7055661 2022-02-27))
Thank you.
svenstaro, trevyn, muursh, zeeshanlakhani, JurajSadel and 45 moreberkus
Metadata
Metadata
Assignees
Labels
No labels