diff --git a/.github/workflows/m1_tests.yml b/.github/workflows/m1_tests.yml index 15ea0a580..1278da17d 100644 --- a/.github/workflows/m1_tests.yml +++ b/.github/workflows/m1_tests.yml @@ -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 }} diff --git a/Cargo.toml b/Cargo.toml index ffa7b77ac..847933b96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"