File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ cloudabi = { version = "0.0.3", optional = true }
46
46
[target .'cfg(target_os = "fuchsia")' .dependencies ]
47
47
fuchsia-zircon = { version = " 0.3.2" , optional = true }
48
48
49
- [target .wasm32-unknown-unknown .dependencies ]
49
+ [target .'cfg(target_arch = " wasm32")' .dependencies ]
50
50
# use with `--target wasm32-unknown-unknown --features=stdweb`
51
51
stdweb = { version = " 0.4" , optional = true }
52
52
Original file line number Diff line number Diff line change @@ -659,9 +659,7 @@ mod imp {
659
659
}
660
660
}
661
661
662
- #[ cfg( all( target_arch = "wasm32" ,
663
- not( target_os = "emscripten" ) ,
664
- not( feature = "stdweb" ) ) ) ]
662
+ #[ cfg( all( target_arch = "wasm32" , not( feature = "stdweb" ) ) ) ]
665
663
mod imp {
666
664
use { Error , ErrorKind } ;
667
665
@@ -681,9 +679,7 @@ mod imp {
681
679
}
682
680
}
683
681
684
- #[ cfg( all( target_arch = "wasm32" ,
685
- not( target_os = "emscripten" ) ,
686
- feature = "stdweb" ) ) ]
682
+ #[ cfg( all( target_arch = "wasm32" , feature = "stdweb" ) ) ]
687
683
mod imp {
688
684
use std:: mem;
689
685
use stdweb:: unstable:: TryInto ;
You can’t perform that action at this time.
0 commit comments