Skip to content

Commit

Permalink
Fix spin_loop error
Browse files Browse the repository at this point in the history
See issue [#55002](rust-lang/rust#55002)
  • Loading branch information
Barry authored Jul 7, 2021
1 parent 2b3c6cf commit 15a0bfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#![deny(unused_must_use, missing_docs)]
#![allow(clippy::identity_op)]
#![allow(dead_code)]
/// cause core::hint::spin_loop need this feature eenabled.
#![feature(renamed_spin_loop)]

// #[macro_use]
extern crate log;
Expand Down

0 comments on commit 15a0bfe

Please sign in to comment.