Upgrade to latest NAPI-RS infra (#55505)
Should also resolve the msvc runtime issue: https://nextjs.org/docs/messages/failed-loading-swc#possible-ways-to-fix-it
This commit is contained in:
parent
90b0352a3e
commit
d665c3df4d
2 changed files with 7 additions and 4 deletions
|
@ -7,6 +7,9 @@ rustdocflags = []
|
|||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
linker = "rust-lld"
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
[target.i686-pc-windows-msvc]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
|
||||
[target.aarch64-unknown-linux-gnu]
|
||||
linker = "aarch64-linux-gnu-gcc"
|
||||
|
|
8
.github/workflows/build_and_deploy.yml
vendored
8
.github/workflows/build_and_deploy.yml
vendored
|
@ -152,7 +152,7 @@ jobs:
|
|||
# to ensure it did not change unexpectedly if docker image, or other dependency changed
|
||||
# - zig linker with portable glibc is avoided as it has known issues with static tls + node.js + multi threaded
|
||||
# environment.
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-x64
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-x64
|
||||
build: >-
|
||||
set -e &&
|
||||
apt update &&
|
||||
|
@ -173,7 +173,7 @@ jobs:
|
|||
- 'metal'
|
||||
|
||||
target: 'x86_64-unknown-linux-musl'
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-alpine
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-alpine
|
||||
build: >-
|
||||
set -e &&
|
||||
apk update &&
|
||||
|
@ -192,7 +192,7 @@ jobs:
|
|||
- 'metal'
|
||||
|
||||
target: 'aarch64-unknown-linux-gnu'
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-aarch64
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-aarch64
|
||||
build: >-
|
||||
set -e &&
|
||||
apt update &&
|
||||
|
@ -214,7 +214,7 @@ jobs:
|
|||
- 'metal'
|
||||
|
||||
target: 'aarch64-unknown-linux-musl'
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-alpine
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-alpine
|
||||
build: >-
|
||||
set -e &&
|
||||
apk update &&
|
||||
|
|
Loading…
Reference in a new issue