We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a88b10c commit f791b1aCopy full SHA for f791b1a
oscars/src/lib.rs
@@ -3,15 +3,12 @@
3
//! Things that may be contained here in: allocators, garbage collectors, memory
4
//! management primitives.
5
6
-#![no_std]
+#![cfg_attr(not(any(test, feature = "std")), no_std)]
7
8
extern crate self as oscars;
9
10
extern crate alloc as rust_alloc;
11
12
-#[cfg(feature = "std")]
13
-extern crate std;
14
-
15
#[cfg(feature = "mark_sweep")]
16
pub use crate::collectors::mark_sweep::*;
17
0 commit comments