mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 00:32:15 +03:00
chore(build): Disable LTO for local builds (#3514)
This commit is contained in:
parent
2d997b3806
commit
80ed69d67d
1
.github/workflows/publish-node.yml
vendored
1
.github/workflows/publish-node.yml
vendored
@ -5,6 +5,7 @@ env:
|
||||
APP_NAME: swc
|
||||
MACOSX_DEPLOYMENT_TARGET: "10.13"
|
||||
CARGO_INCREMENTAL: 0
|
||||
CARGO_PROFILE_RELEASE_LTO: "fat"
|
||||
CI: "1"
|
||||
|
||||
on:
|
||||
|
1
.github/workflows/publish-wasm.yml
vendored
1
.github/workflows/publish-wasm.yml
vendored
@ -2,6 +2,7 @@ name: Publish (wasm)
|
||||
|
||||
env:
|
||||
CARGO_INCREMENTAL: 0
|
||||
CARGO_PROFILE_RELEASE_LTO: "fat"
|
||||
CI: "1"
|
||||
|
||||
on:
|
||||
|
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user