chore: 'node' runner on emscripten target

This commit is contained in:
2025-07-28 18:08:47 -05:00
parent d7a9e0a304
commit d763b9646f
+2 -1
View File
@@ -5,6 +5,7 @@ rustflags = [
"-C", "link-args=-sUSE_SDL=2 -sUSE_SDL_IMAGE=2 -sUSE_SDL_MIXER=2 -sUSE_OGG=1 -sUSE_SDL_GFX=2 -sUSE_SDL_TTF=2 -sSDL2_IMAGE_FORMATS=['png']", "-C", "link-args=-sUSE_SDL=2 -sUSE_SDL_IMAGE=2 -sUSE_SDL_MIXER=2 -sUSE_OGG=1 -sUSE_SDL_GFX=2 -sUSE_SDL_TTF=2 -sSDL2_IMAGE_FORMATS=['png']",
"-C", "link-args=--preload-file assets/game/", "-C", "link-args=--preload-file assets/game/",
] ]
runner = "node"
[target.'cfg(target_os = "linux")'] [target.'cfg(target_os = "linux")']
rustflags = [ rustflags = [
@@ -13,4 +14,4 @@ rustflags = [
# By adding `-lz` here, we ensure it's passed to the linker after `libpng`, # By adding `-lz` here, we ensure it's passed to the linker after `libpng`,
# which is required for the linker to correctly resolve symbols. # which is required for the linker to correctly resolve symbols.
"-C", "link-arg=-lz", "-C", "link-arg=-lz",
] ]