mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
perf(bindings): Enable LTO (#5740)
This commit is contained in:
parent
c00f1a4d52
commit
49e0c71cba
2
.github/workflows/publish-node.yml
vendored
2
.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"
|
||||
DISABLE_PLUGIN_E2E_TESTS: true
|
||||
|
||||
@ -33,6 +34,7 @@ jobs:
|
||||
strip -x *.node
|
||||
- host: windows-latest
|
||||
build: |
|
||||
export CARGO_PROFILE_RELEASE_LTO=false
|
||||
yarn build
|
||||
cargo build --manifest-path ./bindings/swc_cli/Cargo.toml --release --features plugin
|
||||
cp ./bindings/target/release/swc .
|
||||
|
Loading…
Reference in New Issue
Block a user