File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -110,23 +110,6 @@ pub mod versions {
110
110
include ! ( concat!( env!( "OUT_DIR" ) , "/versions.rs" ) ) ;
111
111
}
112
112
113
- #[ cfg( all( feature = "wasm-deterministic" , target_family = "wasm" ) ) ]
114
- mod getrandom {
115
- use core:: num:: NonZeroU32 ;
116
-
117
- use getrandom:: Error ;
118
-
119
- pub const NO_RANDOMNESS_ERROR_CODE : u32 = Error :: CUSTOM_START ;
120
- pub fn always_fail ( _buf : & mut [ u8 ] ) -> Result < ( ) , Error > {
121
- let code = NonZeroU32 :: new ( NO_RANDOMNESS_ERROR_CODE ) . unwrap ( ) ;
122
- Err ( Error :: from ( code) )
123
- }
124
- pub use getrandom:: register_custom_getrandom;
125
- }
126
-
127
- #[ cfg( all( feature = "wasm-deterministic" , target_family = "wasm" ) ) ]
128
- getrandom:: register_custom_getrandom!( getrandom:: always_fail) ;
129
-
130
113
/// This test asserts that the constant above doesn't change.
131
114
/// This exists because the constant above is used by Epoch 2.5 instantiation code.
132
115
///
You can’t perform that action at this time.
0 commit comments