diff --git a/.cargo/config.toml b/.cargo/config.toml index 49d59af..2a19310 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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=--preload-file assets/game/", ] +runner = "node" [target.'cfg(target_os = "linux")'] rustflags = [ @@ -13,4 +14,4 @@ rustflags = [ # By adding `-lz` here, we ensure it's passed to the linker after `libpng`, # which is required for the linker to correctly resolve symbols. "-C", "link-arg=-lz", -] \ No newline at end of file +]