File tree 12 files changed +773
-732
lines changed
12 files changed +773
-732
lines changed Original file line number Diff line number Diff line change @@ -30,23 +30,6 @@ matrix:
30
30
env : TARGET=x86_64-apple-darwin NO_ADD=1
31
31
script : ci/run.sh
32
32
- env : TARGET=wasm32-unknown-unknown
33
- before_script :
34
- - git clone --recursive https://github.com/WebAssembly/wabt
35
- - (cd wabt && git reset --hard a0bdeb7 && make -j4)
36
- - export PATH=$PATH:$PWD/wabt/bin
37
- - git clone https://github.com/rustwasm/wasm-bindgen
38
- - (cd wasm-bindgen && cargo install --path crates/cli)
39
- script :
40
- - cargo build --target wasm32-unknown-unknown -p stdsimd
41
- - cargo build --target wasm32-unknown-unknown -p stdsimd --release
42
- - cargo rustc --target wasm32-unknown-unknown -p stdsimd --release --example wasm -- -C lto
43
- - wasm2wat target/wasm32-unknown-unknown/release/examples/wasm.wasm -o wasm.wat
44
- - cat wasm.wat
45
- - grep current_memory wasm.wat
46
- - grep grow_memory wasm.wat
47
- - cd crates/wasm-test
48
- - cargo test --target=$TARGET
49
- - cargo test --target=$TARGET --release
50
33
- env : TARGET=thumbv6m-none-eabi NOSTD=1
51
34
- env : TARGET=thumbv7m-none-eabi NOSTD=1
52
35
- env : TARGET=thumbv7em-none-eabi NOSTD=1
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ case ${TARGET} in
39
39
* android* )
40
40
export STDSIMD_DISABLE_ASSERT_INSTR=1
41
41
;;
42
+ wasm32* )
43
+ # export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+simd128"
44
+ ;;
45
+
42
46
* )
43
47
;;
44
48
esac
Original file line number Diff line number Diff line change 1
1
//! WASM32 intrinsics
2
2
3
3
#[ macro_use]
4
+ #[ cfg( not( test) ) ]
4
5
mod simd128;
6
+ #[ cfg( test) ]
7
+ pub mod simd128;
5
8
pub use self :: simd128:: * ;
6
9
7
10
extern "C" {
You can’t perform that action at this time.
0 commit comments