Skip to content

Commit 3cd052f

Browse files
committed
try fix action
1 parent 4e73efd commit 3cd052f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/wasm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
- name: Build WASM app
4242
run: |
4343
wasm-pack build --out-dir www/pkg --target web --release --no-default-features --features "tiny-skia,wasm,rayon"
44+
cd www
4445
wasm-opt -O3 --enable-bulk-memory --enable-nontrapping-float-to-int -o pkg/kalc_plot_bg.wasm pkg/kalc_plot_bg.wasm
46+
cd ..
4547
4648
- name: Copy site files to output
4749
run: |

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ crate-type = ["cdylib", "rlib"]
2727
wasm-opt = false
2828

2929
[features]
30-
default=["tiny-skia","softbuffer-x11", "rug","fastnum", "vulkano-x11","x11", "wayland", "rayon", "bincode", "arboard"]
30+
default=["skia-vulkan", "rug","fastnum", "vulkano-x11","x11", "wayland", "rayon", "bincode", "arboard"]
3131
#default=["egui","rug","fastnum","rayon", "bincode", "arboard"]
3232
#default=["skia-vulkan","rug","fastnum","wayland", "rayon", "bincode", "arboard"]
3333
#default=["skia","rug","fastnum","wayland","softbuffer","softbuffer-wayland", "rayon", "bincode", "arboard"]

0 commit comments

Comments
 (0)