chore(build): Disable LTO for local builds (#3514)

This commit is contained in:
Donny/강동윤 2022-02-10 17:35:15 +09:00 committed by GitHub
parent 2d997b3806
commit 80ed69d67d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,7 @@ env:
APP_NAME: swc
MACOSX_DEPLOYMENT_TARGET: "10.13"
CARGO_INCREMENTAL: 0
CARGO_PROFILE_RELEASE_LTO: "fat"
CI: "1"
on:

View File

@ -2,6 +2,7 @@ name: Publish (wasm)
env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_RELEASE_LTO: "fat"
CI: "1"
on:

View File

@ -19,7 +19,10 @@ members = [
[profile.release]
codegen-units = 1
lto = "fat"
# We use CARGO_PROFILE_RELEASE_LTO for production builds
# lto = "fat"
# debug = true
# opt-level = 'z'