File tree Expand file tree Collapse file tree 12 files changed +773
-732
lines changed Expand file tree Collapse file tree 12 files changed +773
-732
lines changed Original file line number Diff line number Diff line change @@ -30,23 +30,6 @@ matrix:
3030 env : TARGET=x86_64-apple-darwin NO_ADD=1
3131 script : ci/run.sh
3232 - 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
5033 - env : TARGET=thumbv6m-none-eabi NOSTD=1
5134 - env : TARGET=thumbv7m-none-eabi NOSTD=1
5235 - env : TARGET=thumbv7em-none-eabi NOSTD=1
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ case ${TARGET} in
3939 * android* )
4040 export STDSIMD_DISABLE_ASSERT_INSTR=1
4141 ;;
42+ wasm32* )
43+ # export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+simd128"
44+ ;;
45+
4246 * )
4347 ;;
4448esac
Original file line number Diff line number Diff line change 11//! WASM32 intrinsics
22
33#[ macro_use]
4+ #[ cfg( not( test) ) ]
45mod simd128;
6+ #[ cfg( test) ]
7+ pub mod simd128;
58pub use self :: simd128:: * ;
69
710extern "C" {
You can’t perform that action at this time.
0 commit comments