File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ macro_rules! sym {
6565 } ;
6666 ( @impl $sym: expr) => { {
6767 // Note: Using `crate` to refer to the calling crate - this is deliberate.
68- #[ cfg_attr( not( target_arch = "wasm32" ) , $crate:: internal:: linkme:: distributed_slice( crate :: _stringleton_enabled:: TABLE ) ) ]
69- #[ cfg_attr( not( target_arch = "wasm32" ) , linkme( crate = $crate:: internal:: linkme) ) ]
68+ #[ cfg_attr( not( any ( miri , target_arch = "wasm32" ) ) , $crate:: internal:: linkme:: distributed_slice( crate :: _stringleton_enabled:: TABLE ) ) ]
69+ #[ cfg_attr( not( any ( miri , target_arch = "wasm32" ) ) , linkme( crate = $crate:: internal:: linkme) ) ]
7070 static SITE : $crate:: internal:: Site = $crate:: internal:: Site :: new( & $sym) ;
7171 unsafe {
7272 // SAFETY: This site will be initialized by the static ctor because
@@ -233,7 +233,7 @@ mod tests {
233233
234234 use hashbrown:: HashMap ;
235235
236- use super :: { StaticSymbol , Symbol , static_sym , sym } ;
236+ use super :: { StaticSymbol , Symbol } ;
237237
238238 #[ test]
239239 #[ cfg( feature = "alloc" ) ]
You can’t perform that action at this time.
0 commit comments