Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Install Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: nightly
rust-version: nightly-2025-02-17
components: rust-src
targets: wasm32-unknown-unknown

Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
mv wasm-bindgen-${{ steps.wasm-bindgen.outputs.version }}-${{ matrix.target }}/wasm* .

- name: Install npm packages
run: npm ci -f
run: npm ci
env:
DETECT_CHROMEDRIVER_VERSION: true

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cargo install wasm-bindgen-cli
You need to set up some npm modules before compiling the project:

```bash
npm install -f
npm install
```

You are now ready to build livesplit-core, which powers LiveSplit One:
Expand Down
8 changes: 7 additions & 1 deletion buildCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,17 @@ if (process.argv.some((v) => v === "--max-opt")) {
if (process.argv.some((v) => v === "--unstable")) {
// Relaxed SIMD is not supported by Firefox and Safari yet.
rustFlags += ",+relaxed-simd";

// Not supported by any browser yet.
rustFlags += ",+wide-arithmetic";
}

// Use the nightly toolchain, which enables some more optimizations.
if (process.argv.some((v) => v === "--nightly")) {
toolchain = "+nightly";
// FIXME: Nightly is broken since the LLVM 20 upgrade. We need to wait for
// stdarch (which has the fix already) to be updated:
// https://github.com/rust-lang/stdarch/pull/1719
toolchain = "+nightly-2025-02-17";
cargoFlags +=
" -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort";
rustFlags += " -Z wasm-c-abi=spec";
Expand Down
Loading
Loading