Skip to content

Commit 20f7fae

Browse files
committed
Playground: try to compile smaller binaries
1 parent d93cdaf commit 20f7fae

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release_playground.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ jobs:
3434
- name: Build WASM binary
3535
run: |
3636
cd celq-repo
37-
RUSTC_BOOTSTRAP=1 RUSTFLAGS="-Z unstable-options -C panic=immediate-abort" cargo build \
37+
RUSTC_BOOTSTRAP=1 RUSTFLAGS="\
38+
-Z unstable-options \
39+
-C opt-level=z \
40+
-C debuginfo=0 \
41+
-C strip=symbols \
42+
" cargo build \
3843
--no-default-features \
3944
--features "from-toml,from-yaml,greppable,from-xml" \
4045
--release \

0 commit comments

Comments
 (0)