Skip to content

Commit c57d420

Browse files
committed
Always use #![no_std], and declare std when enabled
1 parent 5bdc3fb commit c57d420

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
1717
#![doc(html_root_url = "https://docs.rs/num-integer/0.1")]
1818

19-
#![cfg_attr(not(feature = "std"), no_std)]
19+
#![no_std]
2020
#[cfg(feature = "std")]
21-
extern crate core;
21+
extern crate std;
2222

2323
extern crate num_traits as traits;
2424

0 commit comments

Comments
 (0)