fix: cfg on ConsoleInit for windows/emscripten, use simplified cfg for windows/linux

This commit is contained in:
Ryan Walters
2025-09-09 16:41:59 -05:00
parent 2a2cca675a
commit 4f7902fc50
4 changed files with 4 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ rustflags = [
]
runner = "node"
[target.'cfg(target_os = "linux")']
[target.'cfg(linux)']
rustflags = [
# Manually link zlib.
# The `sdl2` crate's build script uses `libpng`, which requires `zlib`.