rust-lang / log

Logging implementation for Rust
https://docs.rs/log
Apache License 2.0
2.19k stars 253 forks source link

when i use cargo build command to build log , i don't know what wrong and how to solve it? #640

Open KairusZhang opened 2 hours ago

KairusZhang commented 2 hours ago
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 <https://github.com/rust-lang/rust/issues/32976> for more information
= help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable
KairusZhang commented 2 hours ago

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!!