Skip to content

Commit b8b3780

Browse files
authored
Merge pull request #4 from BarryYan/patch-1
Fix spin_loop error
2 parents f2fb8b9 + eb9d27d commit b8b3780

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![deny(unused_must_use, missing_docs)]
55
#![allow(clippy::identity_op)]
66
#![allow(dead_code)]
7+
#![feature(renamed_spin_loop)]. // cause core::hint::spin_loop need this feature eenabled.
78

89
// #[macro_use]
910
extern crate log;

0 commit comments

Comments
 (0)