mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-10 10:08:02 -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"
|
||||
|
||||
[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 = [
|
||||
# Manually link zlib.
|
||||
# The `sdl2` crate's build script uses `libpng`, which requires `zlib`.
|
||||
|
||||
Reference in New Issue
Block a user