You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0658]: cfg(target_has_atomic) is experimental and subject to change
--> src/lib.rs:396:11
|
396 | #[cfg(not(target_has_atomic = "ptr"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #32976 rust-lang/rust#32976 for more information
= help: add #![feature(cfg_target_has_atomic)] to the crate attributes to enable
The text was updated successfully, but these errors were encountered:
i try to change the rustc version to
rustup default nightly-2024-05-01-x86_64-unknown-linux-gnu
And show the version of rustc 1.84.0-nightly (9322d183f 2024-10-14)
, but all of them are useless!!
yes, i solved it by uninstall all other version
$ rustup toolchain list && rustup uninstall XXXX-linux-gnu*;
$ rustc --version
only keep the latest rustc 1.84.0-nightly (9322d183f 2024-10-14);
i find the problem was caused by Cargo.toml dependencies , there are some other crate which is too old and them have dependencies on oler log crate.
so i must keep the dependencies and version of rustc in latest sates.\thanks for your suggestion,.
error[E0658]:
cfg(target_has_atomic)
is experimental and subject to change--> src/lib.rs:396:11
|
396 | #[cfg(not(target_has_atomic = "ptr"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #32976 rust-lang/rust#32976 for more information
= help: add
#![feature(cfg_target_has_atomic)]
to the crate attributes to enableThe text was updated successfully, but these errors were encountered: