chore(ci): LTO is causing issues in M1 CI tests use LTO off instead

This commit is contained in:
Arthur Meyre
2023-06-29 11:04:13 +02:00
parent 5e0aff616e
commit 10f034171f
2 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-C target-cpu=native"
ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
CARGO_PROFILE: release_lto_off
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}

View File

@@ -8,6 +8,10 @@ lto = "fat"
[profile.release]
lto = "fat"
[profile.release_lto_off]
inherits = "release"
lto = "off"
# Compiles much faster for tests and allows reasonable performance for iterating
[profile.devo]
inherits = "dev"