File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1554,16 +1554,14 @@ impl MetricMap {
15541554/// elimination.
15551555///
15561556/// This function is a no-op, and does not even read from `dummy`.
1557- #[ cfg( not( any( all( target_os = "nacl" , target_arch = "le32" ) ,
1558- target_arch = "asmjs" , target_arch = "wasm32" ) ) ) ]
1557+ #[ cfg( not( any( target_arch = "asmjs" , target_arch = "wasm32" ) ) ) ]
15591558pub fn black_box < T > ( dummy : T ) -> T {
15601559 // we need to "use" the argument in some way LLVM can't
15611560 // introspect.
15621561 unsafe { asm ! ( "" : : "r" ( & dummy) ) }
15631562 dummy
15641563}
1565- #[ cfg( any( all( target_os = "nacl" , target_arch = "le32" ) ,
1566- target_arch = "asmjs" , target_arch = "wasm32" ) ) ]
1564+ #[ cfg( any( target_arch = "asmjs" , target_arch = "wasm32" ) ) ]
15671565#[ inline( never) ]
15681566pub fn black_box < T > ( dummy : T ) -> T {
15691567 dummy
You can’t perform that action at this time.
0 commit comments