mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-06 07:16:14 -06:00
Switch back to Asyncify without Emscripten Main Loop callback
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
rustflags = [
|
||||
# "-O", "-C", "link-args=-O2 --profiling",
|
||||
#"-C", "link-args=-O3 --closure 1",
|
||||
# "-C", "link-args=-sASYNCIFY -sALLOW_MEMORY_GROWTH=1",
|
||||
"-C", "link-args=-sALLOW_MEMORY_GROWTH=1",
|
||||
"-C", "link-args=-sASYNCIFY -sALLOW_MEMORY_GROWTH=1",
|
||||
# "-C", "link-args=-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/",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user