Skip to content

Commit 47a278d

Browse files
committed
CI: split arguments of rustflags
1 parent 4953988 commit 47a278d

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.cargo/config.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,11 @@
22
rustflags = []
33

44
[target.aarch64-apple-darwin]
5-
rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"]
5+
rustflags = [
6+
"-C",
7+
"link-args=-Wl",
8+
"-C",
9+
"link-args=-undefined",
10+
"-C",
11+
"link-args=dynamic_lookup",
12+
]

.github/workflows/build-reusable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828
RUST_BACKTRACE: full
2929
MINA_PANIC_ON_BUG: true
3030
CARGO_INCREMENTAL: 1
31-
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off -C link-args=-Wl,-undefined,dynamic_lookup"
31+
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off -C link-args=-Wl -C link-args=-undefined -C link-args=dynamic_lookup"
3232

3333
jobs:
3434
build:

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
RUST_BACKTRACE: full
1717
MINA_PANIC_ON_BUG: true
1818
CARGO_INCREMENTAL: 1
19-
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off -C link-args=-Wl,-undefined,dynamic_lookup"
19+
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off -C link-args=-Wl -C link-args=-undefined -C link-args=dynamic_lookup"
2020

2121
concurrency:
2222
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)