Skip to content

Commit c4b07f3

Browse files
committed
fix: only provide -C split-debuginfo=off for macOS
1 parent ebe6b90 commit c4b07f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
platform:
1818
- { runner: ubuntu-latest, python_exec: ".venv/bin/python" }
1919
- { runner: ubuntu-24.04-arm, python_exec: ".venv/bin/python" }
20-
- { runner: macos-latest, python_exec: ".venv/bin/python" }
21-
- { runner: macos-13, python_exec: ".venv/bin/python" }
20+
- { runner: macos-latest, python_exec: ".venv/bin/python", extra_rustflags: "-C split-debuginfo=off"}
21+
- { runner: macos-13, python_exec: ".venv/bin/python", extra_rustflags: "-C split-debuginfo=off"}
2222
- { runner: windows-latest, python_exec: ".venv\\Scripts\\python" }
2323
runs-on: ${{ matrix.platform.runner }}
2424
env:
25-
RUSTFLAGS: "-C debuginfo=0 -C split-debuginfo=off"
25+
RUSTFLAGS: "-C debuginfo=0 ${{ matrix.platform.extra_rustflags }}"
2626
CARGO_INCREMENTAL: "0"
2727
SCCACHE_GHA_ENABLED: "true"
2828
RUSTC_WRAPPER: "sccache"

0 commit comments

Comments
 (0)