Skip to content

Commit 6117c9d

Browse files
authored
Update HQX to latest (#943)
I've played a bit and added a non-invasive change to the HQX - CryZe/wasmboy-rs#1 - to work around the code size regression (rust-lang/rust#74947) introduced in the latest Rust. As a side benefit of the change, the build time also went down significantly and now takes only 1 minute altogether - including spawning Docker, fetching Cargo, building Wasm and optimising it with wasm-opt - instead of 15-20 minutes it took before. P.S. h/t @CryZe for a very quick review & publish.
1 parent a3be343 commit 6117c9d

File tree

6 files changed

+173
-198
lines changed

6 files changed

+173
-198
lines changed

codecs/hqx/Cargo.lock

Lines changed: 87 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codecs/hqx/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ default = ["console_error_panic_hook", "wee_alloc"]
1313
cfg-if = "0.1.2"
1414
wasm-bindgen = "0.2.38"
1515
# lazy_static = "1.0.0"
16-
hqx = {git = "https://github.com/CryZe/wasmboy-rs", tag="v0.1.2"}
16+
hqx = {git = "https://github.com/CryZe/wasmboy-rs", tag="v0.1.3"}
1717

1818
# The `console_error_panic_hook` crate provides better debugging of panics by
1919
# logging them with `console.error`. This is great for development, but requires

codecs/hqx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hqx",
33
"scripts": {
4-
"build": "RUST_IMG=rust:1.40 ../build-rust.sh"
4+
"build": "../build-rust.sh"
55
}
66
}

0 commit comments

Comments
 (0)