Skip to content

Commit 4b647ea

Browse files
committed
rand_jitter: Fix std feature
1 parent 42c24ad commit 4b647ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rand_jitter/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
// compiler not optimize out code which does influence timing jitter, but is
5555
// technically dead code.
5656
#![no_std]
57+
#[cfg(feature = "std")]
58+
extern crate std;
59+
5760
pub use rand_core;
5861

5962
// Coming from https://crates.io/crates/doc-comment

0 commit comments

Comments
 (0)