Skip to content

Commit

Permalink
Fix stable_features warning
Browse files Browse the repository at this point in the history
```
error: the feature `cfg_target_has_atomic` has been stable since 1.60.0 and no longer requires an attribute to enable
 --> futures/tests/no-std/src/lib.rs:3:12
  |
3 | #![feature(cfg_target_has_atomic)]
  |            ^^^^^^^^^^^^^^^^^^^^^
```
  • Loading branch information
taiki-e committed Feb 16, 2022
1 parent 1984374 commit a174117
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion futures/tests/no-std/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![cfg(nightly)]
#![no_std]
#![feature(cfg_target_has_atomic)]

#[cfg(feature = "futures-core-alloc")]
#[cfg(target_has_atomic = "ptr")]
Expand Down

0 comments on commit a174117

Please sign in to comment.