Skip to content

Commit

Permalink
Merge branch 'main' into fix/issue-7967
Browse files Browse the repository at this point in the history
  • Loading branch information
swc-bot committed Dec 8, 2023
2 parents 389ca1b + 595f13c commit 1f84030
Show file tree
Hide file tree
Showing 196 changed files with 3,593 additions and 4,643 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ body:
required: true
attributes:
label: Playground link (or link to the minimal reproduction)
description: You can use [swc playground](https://play.swc.rs/) to create a reproduction link, then paste the link here.
description: "You can use [swc playground](https://play.swc.rs/) to create a reproduction link, then paste the link here. If your link is invalid, the issue will be closed automatically. Allowed domains are github.com,play.swc.rs,evanw.github.io,lightningcss.dev,play.rust-lang.org"
- type: textarea
id: swc-info
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nissuer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: balazsorban44/nissuer@1.7.3
with:
reproduction-comment: ".github/invalid-link.md"
reproduction-hosts: "github.com,play.swc.rs,evanw.github.io,lightningcss.dev"
reproduction-hosts: "github.com,play.swc.rs,evanw.github.io,lightningcss.dev,play.rust-lang.org"
reproduction-invalid-label: "invalid link"
reproduction-issue-labels: "C-bug"
reproduction-link-section: "### Playground link \\(or link to the minimal reproduction\\)(.*)### SWC Info output"
6 changes: 6 additions & 0 deletions .github/workflows/publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: >-
set -e &&
yarn policies set-version 1.22.19 &&
unset CC_x86_64_unknown_linux_gnu && unset CC && RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ./bindings/swc_cli/Cargo.toml --release --features plugin &&
rm -rf bindings/target/target/x86_64-unknown-linux-gnu/release/.cargo-lock &&
cp bindings/target/x86_64-unknown-linux-gnu/release/swc . && chmod +x ./swc &&
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: >-
set -e &&
yarn policies set-version 1.22.19 &&
export JEMALLOC_SYS_WITH_LG_PAGE=16 &&
rustup target add aarch64-unknown-linux-gnu &&
RUSTFLAGS='' cargo build --manifest-path ./bindings/swc_cli/Cargo.toml --release --features plugin --target aarch64-unknown-linux-gnu &&
Expand Down Expand Up @@ -188,6 +190,10 @@ jobs:
shell: bash
- name: Install dependencies
run: |
# Workaround for
# https://github.com/yarnpkg/yarn/issues/9015#issuecomment-1831229617
yarn policies set-version 1.22.19
yarn install --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
echo '/usr/local/cargo/bin' >> $GITHUB_PATH
Expand Down
1,252 changes: 378 additions & 874 deletions CHANGELOG.md

Large diffs are not rendered by default.

0 comments on commit 1f84030

Please sign in to comment.