File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# `cargo wasm` build edge-python release WebAssembly artifact.
22[alias ]
3- wasm = " rustc --release --target wasm32-unknown-unknown -p edge-python --lib --no-default-features --features runtime --crate-type cdylib,rlib "
3+ wasm = " rustc --release --target wasm32-unknown-unknown -p edge-python --lib --no-default-features --features runtime --crate-type cdylib"
44# `cargo wasm-cli` builds the speed-tuned copy released CLIs embed.
5- wasm-cli = " rustc --profile cli --target wasm32-unknown-unknown -p edge-python --lib --no-default-features --features runtime --crate-type cdylib,rlib "
5+ wasm-cli = " rustc --profile cli --target wasm32-unknown-unknown -p edge-python --lib --no-default-features --features runtime --crate-type cdylib"
Original file line number Diff line number Diff line change 6767 -p edge-python \
6868 --no-default-features \
6969 --features runtime \
70- --crate-type cdylib,rlib \
70+ --crate-type cdylib \
7171 -Z build-std=std,panic_abort \
7272 -Z build-std-features=optimize_for_size
7373
@@ -114,7 +114,7 @@ runs:
114114 - name : Build (CLI)
115115 shell : bash
116116 run : |
117- cargo rustc --locked --profile cli --target wasm32-unknown-unknown -p edge-python --lib --no-default-features --features runtime --crate-type cdylib,rlib
117+ cargo rustc --locked --profile cli --target wasm32-unknown-unknown -p edge-python --lib --no-default-features --features runtime --crate-type cdylib
118118 CLI_WASM=target/wasm32-unknown-unknown/cli/compiler.wasm
119119 wasm-opt -O3 --enable-bulk-memory --enable-bulk-memory-opt --enable-nontrapping-float-to-int --enable-sign-ext --enable-mutable-globals --enable-multivalue --enable-reference-types -o /tmp/compiler-cli.wasm "$CLI_WASM"
120120 mv /tmp/compiler-cli.wasm "$CLI_WASM"
You can’t perform that action at this time.
0 commit comments