Skip to content

Commit beb7f73

Browse files
committed
unhide RNG
1 parent cdd3713 commit beb7f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ic-wasi-polyfill/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ pub unsafe fn forward_to_debug(iovs: *const wasi::Ciovec, len: i32, res: *mut wa
7676
}
7777

7878
thread_local! {
79-
static RNG : RefCell<rand::rngs::StdRng> = RefCell::new(rand::rngs::StdRng::from_seed([0;32]));
79+
pub static RNG : RefCell<rand::rngs::StdRng> = RefCell::new(rand::rngs::StdRng::from_seed([0;32]));
8080

8181
pub static FS: RefCell<FileSystem> = RefCell::new(
8282
FileSystem::new(Box::new(DummyStorage::new())).unwrap()
8383
);
8484

85-
static ENV: RefCell<Environment> = RefCell::new(Environment::new());
85+
pub static ENV: RefCell<Environment> = RefCell::new(Environment::new());
8686
}
8787

8888
#[allow(unused_macros)]

0 commit comments

Comments
 (0)