diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75b46ed9..23814dd3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,9 @@ jobs: make_release: name: Make release runs-on: ubuntu-20.04 + env: + CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1 + CARGO_PROFILE_RELEASE_LTO: fat steps: - uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index 04aad3a2..5f9b8758 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,3 @@ members = [ "crates/termbox", "crates/tiny", ] - -[profile.release] -lto = true -codegen-units = 1