diff --git a/.cargo/config.toml b/.cargo/config.toml index 78fb7e9..275e984 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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`.