File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " livesplit-core"
3- version = " 0.5.1 "
3+ version = " 0.6.0 "
44authors = [" Christopher Serr <christopher.serr@gmail.com>" ]
55documentation = " https://docs.rs/livesplit-core/"
66repository = " https://github.com/CryZe/livesplit-core"
Original file line number Diff line number Diff line change 11[package ]
22name = " livesplit-core-capi"
3- version = " 0.5.1 "
3+ version = " 0.6.0 "
44authors = [" Christopher Serr <christopher.serr@gmail.com>" ]
55
66[dependencies ]
Original file line number Diff line number Diff line change @@ -17,7 +17,19 @@ main() {
1717
1818 test -f Cargo.lock || cargo generate-lockfile
1919
20- cross rustc -p livesplit-core-capi --target $TARGET --release
20+ case $TARGET in
21+ asmjs-unknown-emscripten)
22+ cross build -p livesplit --target $TARGET --release
23+ ;;
24+ wasm32-unknown-emscripten)
25+ rm target/wasm32-unknown-emscripten/release/deps/* .wasm 2> /dev/null || :
26+ rm target/wasm32-unknown-emscripten/release/deps/* .js 2> /dev/null || :
27+ cross build -p livesplit --target $TARGET --release
28+ ;;
29+ * )
30+ cross rustc -p livesplit-core-capi --target $TARGET --release
31+ ;;
32+ esac
2133
2234 (cd capi/bind_gen && cargo run)
2335
You can’t perform that action at this time.
0 commit comments