Skip to content

Commit bfa74a0

Browse files
committed
Re-export rand_core::OsError as Error
To avoid wasmtime having to change too much.
1 parent 31f05b9 commit bfa74a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cap-rand/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
pub use ambient_authority::ambient_authority_known_at_compile_time;
3434
pub use ambient_authority::{ambient_authority, AmbientAuthority};
3535
pub use rand::{
36-
distr, rand_core, seq, CryptoRng, Fill, Rng, RngCore, SeedableRng, TryCryptoRng, TryRngCore,
36+
distr, rand_core, rand_core::OsError as Error, seq, CryptoRng, Fill, Rng, RngCore, SeedableRng,
37+
TryCryptoRng, TryRngCore,
3738
};
3839

3940
/// Convenience re-export of common members.

0 commit comments

Comments
 (0)