Fix wasm32 build job

This commit is contained in:
gnzlbg 2019-02-13 22:05:49 +01:00 committed by gnzlbg
parent 6681ec36b0
commit e56de7344f
3 changed files with 3 additions and 5 deletions

View file

@ -80,7 +80,7 @@ case ${TARGET} in
esac
if [ "$NORUN" != "1" ] && [ "$NOSTD" != 1 ]; then
if [ "$NORUN" != "1" ] && [ "$NOSTD" != 1 ] && [ "$TARGET" != "wasm32-unknown-unknown" ]; then
# Test examples
(
cd examples

View file

@ -30,9 +30,5 @@ std_detect = { version = "0.*", path = "../std_detect" }
[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "=0.2.19"
[features]
# Internal-usage only: denies all warnings.
strict = []
[package.metadata.docs.rs]
rustdoc-args = [ "--cfg", "dox" ]

View file

@ -20,6 +20,8 @@
)]
#![cfg_attr(target_os = "linux", feature(linkage))]
#![cfg_attr(all(target_os = "freebsd", target_arch = "aarch64"), feature(asm))]
#![cfg_attr(stdsimd_strict, deny(warnings))]
#![cfg_attr(test, allow(unused_imports))]
#![no_std]
#[macro_use]