diff --git a/.cargo/config.toml b/.cargo/config.toml index 993021f..91cc6cc 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,10 +1,10 @@ [target.wasm32-unknown-emscripten] # TODO: Document what the fuck this is. rustflags = [ - "-O", "-C", "link-args=-O2 --profiling", + # "-O", "-C", "link-args=-O2 --profiling", #"-C", "link-args=-O3 --closure 1", - "-C", "link-args=-sASYNCIFY -sALLOW_MEMORY_GROWTH=1", + # "-C", "link-args=-sASYNCIFY -sALLOW_MEMORY_GROWTH=1", "-C", "link-args=-sUSE_SDL=2 -sUSE_SDL_IMAGE=2 -sSDL2_IMAGE_FORMATS=['png']", # USE_OGG, USE_VORBIS for OGG/VORBIS usage - "-C", "link-args=--preload-file assets/", + # "-C", "link-args=--preload-file assets/", ] diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 85915cc..c01786b 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -13,7 +13,7 @@ jobs: - uses: mymindstorm/setup-emsdk@v11 # setup emscripten toolchain with: - version: 1.39.20 + version: 3.1.57 - uses: actions-rs/toolchain@v1 # get rust toolchain for wasm with: diff --git a/Cargo.lock b/Cargo.lock index 8adc90f..5ae1f0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -167,9 +167,9 @@ checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" [[package]] name = "sdl2" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7959277b623f1fb9e04aea73686c3ca52f01b2145f8ea16f4ff30d8b7623b1a" +checksum = "8356b2697d1ead5a34f40bcc3c5d3620205fe0c7be0a14656223bfeec0258891" dependencies = [ "bitflags", "lazy_static", @@ -179,9 +179,9 @@ dependencies = [ [[package]] name = "sdl2-sys" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3586be2cf6c0a8099a79a12b4084357aa9b3e0b0d7980e3b67aaf7a9d55f9f0" +checksum = "26bcacfdd45d539fb5785049feb0038a63931aa896c7763a2a12e125ec58bd29" dependencies = [ "cfg-if", "libc", diff --git a/Cargo.toml b/Cargo.toml index 3cf545c..1941064 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] colors-transform = "0.2.11" lazy_static = "1.4.0" -sdl2 = { version = "0.35", features = ["image", "ttf", "mixer"] } +sdl2 = { version = "0.36", features = ["image", "ttf", "mixer"] } spin_sleep = "1.1.1" tracing = { version = "0.1.37", features = ["max_level_debug", "release_max_level_warn"]} tracing-error = "0.2.0" diff --git a/assets/index.html b/assets/index.html index fccabb5..40e4add 100644 --- a/assets/index.html +++ b/assets/index.html @@ -17,11 +17,11 @@
- - +