Skip to content

Commit

Permalink
Update dependencies (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
CryZe authored Aug 14, 2023
1 parent b2f6131 commit 6139d06
Show file tree
Hide file tree
Showing 5 changed files with 1,817 additions and 9,302 deletions.
11 changes: 11 additions & 0 deletions buildCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,21 @@ if (process.argv.some((v) => v === "--max-opt")) {
cargoFlags = "--profile max-opt";
}

// Use WASM features that may not be supported by all the browsers.
if (process.argv.some((v) => v === "--unstable")) {
// Extended const is not supported by Safari yet.
// Relaxed SIMD is not supported by any browser yet.
// Tail calls are not supported by Firefox, Safari and wasm-bindgen yet.
rustFlags += ",+extended-const,+relaxed-simd"; //,+tail-call";
}

// Use the nightly toolchain, which enables some more optimizations.
if (process.argv.some((v) => v === "--nightly")) {
toolchain = "+nightly";
cargoFlags += " -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort";
// Multivalue is not supported by wasm-bindgen yet:
// https://github.com/rustwasm/wasm-bindgen/issues/3552
// rustFlags += ",+multivalue";

// Virtual function elimination requires LTO, so we can only do it for
// max-opt builds.
Expand Down
2 changes: 1 addition & 1 deletion livesplit-core
Submodule livesplit-core updated 51 files
+12 −12 .github/workflows/build.yml
+1 −1 .github/workflows/test.sh
+19 −18 Cargo.toml
+14 −0 Cross.toml
+1 −1 capi/bind_gen/Cargo.toml
+5 −5 capi/bind_gen/src/csharp.rs
+10 −8 capi/bind_gen/src/main.rs
+14 −0 capi/src/time_span.rs
+1 −1 capi/src/timer.rs
+8 −5 crates/livesplit-auto-splitting/Cargo.toml
+99 −5 crates/livesplit-auto-splitting/README.md
+101 −6 crates/livesplit-auto-splitting/src/lib.rs
+129 −41 crates/livesplit-auto-splitting/src/process.rs
+394 −81 crates/livesplit-auto-splitting/src/runtime.rs
+25 −3 crates/livesplit-auto-splitting/src/settings.rs
+4 −0 crates/livesplit-auto-splitting/src/timer.rs
+2 −2 crates/livesplit-auto-splitting/tests/sandboxing.rs
+8 −9 crates/livesplit-hotkey/Cargo.toml
+3 −0 crates/livesplit-hotkey/src/key_code.rs
+0 −2 crates/livesplit-hotkey/src/lib.rs
+10 −0 crates/livesplit-hotkey/src/macos/ax.rs
+1 −0 crates/livesplit-hotkey/src/macos/carbon.rs
+71 −8 crates/livesplit-hotkey/src/macos/cf.rs
+123 −99 crates/livesplit-hotkey/src/macos/cg.rs
+36 −60 crates/livesplit-hotkey/src/macos/mod.rs
+28 −0 crates/livesplit-hotkey/src/macos/permission.rs
+1 −0 crates/livesplit-hotkey/src/modifiers.rs
+28 −24 crates/livesplit-hotkey/src/windows/mod.rs
+6 −6 crates/livesplit-title-abbreviations/src/lib.rs
+5 −5 src/analysis/state_helper.rs
+84 −5 src/auto_splitting/mod.rs
+18 −18 src/layout/parser/font_resolving/gdi.rs
+4 −1 src/platform/normal/mod.rs
+2 −2 src/rendering/component/timer.rs
+9 −8 src/rendering/consts.rs
+0 −0 src/rendering/default_text_engine/color_font/colr.rs
+0 −0 src/rendering/default_text_engine/color_font/cpal.rs
+1 −1 src/rendering/default_text_engine/color_font/mod.rs
+472 −0 src/rendering/default_text_engine/mod.rs
+ src/rendering/font/assets/Timer.ttf
+3 −3 src/rendering/mod.rs
+0 −468 src/rendering/path_based_text_engine/mod.rs
+1 −1 src/rendering/resource/shared_ownership.rs
+6 −6 src/rendering/software.rs
+6 −5 src/run/editor/mod.rs
+1 −1 src/run/linked_layout.rs
+1 −1 src/run/mod.rs
+3 −1 src/settings/font.rs
+4 −4 src/timing/timer/mod.rs
+4 −4 src/util/byte_parsing.rs
+108 −27 tests/rendering.rs
Loading

0 comments on commit 6139d06

Please sign in to comment.