mirror of
https://github.com/Xevion/Pac-Man.git
synced 2026-01-31 06:25:09 -06:00
chore: 'node' runner on emscripten target
This commit is contained in:
+2
-1
@@ -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",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user