Skip to content

Commit e6f41c3

Browse files
authored
Revert "build: Update swc_core to v24.0.0 (#79092)"
This reverts commit 4748daf.
1 parent 2be311e commit e6f41c3

File tree

11 files changed

+218
-547
lines changed

11 files changed

+218
-547
lines changed

.cargo/config.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,3 @@ rustflags = [
7777

7878
[target.armv7-unknown-linux-gnueabihf]
7979
linker = "arm-linux-gnueabihf-gcc"
80-
81-
[target.wasm32-unknown-unknown]
82-
rustflags = [
83-
"--cfg",
84-
"tokio_unstable",
85-
"-Zshare-generics=y", # make the current crate share its generic instantiations
86-
"-Zthreads=8", # parallel frontend https://blog.rust-lang.org/2023/11/09/parallel-rustc.html
87-
"-Csymbol-mangling-version=v0",
88-
"--cfg",
89-
"getrandom_backend=\"wasm_js\"",
90-
]

.github/workflows/build_and_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ jobs:
440440
- name: Install Rust
441441
uses: ./.github/actions/setup-rust
442442
with:
443-
targets: wasm32-wasip1
443+
targets: wasm32-unknown-unknown
444444

445445
- name: Install wasm-pack
446446
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ jobs:
471471
skipNativeBuild: 'yes'
472472
skipNativeInstall: 'yes'
473473
afterBuild: |
474-
rustup target add wasm32-wasip1
474+
rustup target add wasm32-unknown-unknown
475475
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
476476
node ./scripts/normalize-version-bump.js
477477
pnpm dlx turbo@${TURBO_VERSION} run build-wasm -- --target nodejs

0 commit comments

Comments
 (0)