Skip to content

Commit 674a697

Browse files
committed
chore(ci): fat LTO is causing issues in M1 CI tests use thin LTO instead
1 parent e0ef61a commit 674a697

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/m1_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
CARGO_TERM_COLOR: always
1616
RUSTFLAGS: "-C target-cpu=native"
1717
ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
18+
CARGO_PROFILE: release_thin_lto
1819

1920
concurrency:
2021
group: ${{ github.workflow }}-${{ github.head_ref }}

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ lto = "fat"
88
[profile.release]
99
lto = "fat"
1010

11+
[profile.release_thin_lto]
12+
inherits = "release"
13+
lto = "thin"
14+
1115
# Compiles much faster for tests and allows reasonable performance for iterating
1216
[profile.devo]
1317
inherits = "dev"

0 commit comments

Comments
 (0)