mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-14 16:12:25 -06:00
fix: restore target_os for linux linker arg, add documentation detail
This commit is contained in:
@@ -7,7 +7,9 @@ rustflags = [
|
|||||||
]
|
]
|
||||||
runner = "node"
|
runner = "node"
|
||||||
|
|
||||||
[target.'cfg(linux)']
|
# despite being semantically identical to `target_os = "linux"`, the `cfg(linux)` syntax is not supported here. Who knows why...\
|
||||||
|
# https://github.com/Xevion/Pac-Man/actions/runs/17596477856
|
||||||
|
[target.'cfg(target_os = "linux")']
|
||||||
rustflags = [
|
rustflags = [
|
||||||
# Manually link zlib.
|
# Manually link zlib.
|
||||||
# The `sdl2` crate's build script uses `libpng`, which requires `zlib`.
|
# The `sdl2` crate's build script uses `libpng`, which requires `zlib`.
|
||||||
|
|||||||
Reference in New Issue
Block a user