swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(ci): Match Rust's z10 baseline in s390x release builds (#12489) <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> <!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. --> **Description:** The s390x core and React Compiler release builds fail while assembling `psm 0.1.21`. The GCC compiler from `@napi-rs/cross-toolchain-x64-target-s390x@1.0.3` rejects the `lay` instructions and a negative displacement in `zseries_linux.s` with its default architecture. Set `CFLAGS_s390x_unknown_linux_gnu=-march=z10` in the s390x build script to match Rust's default target CPU. The setting covers the core CLI and all four native addons. Add a regression test that executes each product's build branch with stub commands and checks the compiler flag at every invocation. This changes release tooling only. The changeset has no crate version bumps. Validation: - `node --test scripts/native/workflow.test.mjs`: 8 passed. The new test fails when the compiler setting is removed. - `node --test scripts/native/*.test.mjs`: 23 passed, 1 Windows-specific test skipped on macOS. - `cargo fmt --all`: passed. - `cargo clippy --all --all-targets -- -D warnings`: passed. - Prettier and `git diff --check`: passed. - In a Linux amd64 Docker container, the exact CI cross-toolchain reproduces all three assembler errors without the flag. With `-march=z10`, the same `psm` assembly produces an IBM S/390 ELF object successfully. A complete native release build has not been run locally. PR CI is pending. **Related issue (if exists):** Failed workflow: https://github.com/swc-project/swc/actions/runs/37578353726
main
36 minutes ago
chore: Add changeset
kdy1/fix-s390x-release-assembly
38 minutes ago
fix(es/fixer): preserve parentheses in JSX sequence expressions (#12485) **Description:** Preserve parentheses around sequence expressions inside JSX expression containers and spread children across returns, expression statements, `if` bodies, and arrow bodies. **Related issue:** Closes #12484
main
3 days ago
chore: Add changeset
codex/fix-jsx-sequence-expressions-12484
3 days ago
fix(cli): resolve out-dir source map paths relative to output (#12481) **Description:** The native Rust CLI currently retains cwd-relative source names in maps emitted with `--out-dir`. For example, `lib/src/index.js.map` refers to `src/index.ts` instead of `../../src/index.ts`, so the path resolves inside the output tree. Resolve each output destination before transformation and pass it through `Options.output_path`. Compute source-map names separately from normalized input and output paths to preserve input filenames, JSX development metadata, and explicit source-name/root overrides. This covers external and inline maps as well as watch rebuilds. Validation: - Confirmed the new reproduction test fails before the fix. - `cargo test -p swc_cli_impl`: 42 tests passed, including 12 new regression tests. - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` **Related issue (if exists):** Fixes #12480
main
4 days ago
chore(ci): allow TSRX contributors (#12482) <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> **Description:** Add `trueadm` to a dedicated `tsrx` contributor group so TSRX pull requests and CI runs are accepted by the contributor policy. The account is identified by the TSRX introduction commit `61ff097706` and merged PR #12120. Extend the existing contributor-policy fixtures to verify that `trueadm` and `TRUEADM` are allowed in the `tsrx` group without repository permission lookups. Also assert that the repository allowlist contains the account in that group. No Rust crates or release metadata are affected, so no release changeset is needed. Validation: - Initialized submodules with `git submodule update --init --recursive`. - Ran `npm ci --ignore-scripts --no-audit --no-fund` and `npm test` in `.github/actions/contributor-policy` under Node.js 24; all 89 tests passed. - `cargo fmt --all` passed. - `cargo clippy --all --all-targets -- -D warnings` passed. - `git diff --check` passed. **Related issue (if exists):** Follow-up to #12463 and #12467; TSRX implementation: #12120.
main
4 days ago
chore(ci): allow TSRX contributors
codex/add-tsrx-contributors
4 days ago
chore: Add changeset
codex/fix-native-cli-source-map-paths
4 days ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(ci): Match Rust's z10 baseline in s390x release builds
#12489
41 minutes ago
11fe370
kdy1/fix-s390x-release-assembly
CodSpeed Performance Gauge
0%
fix(es/fixer): preserve parentheses in JSX sequence expressions
#12485
3 days ago
b64a46d
codex/fix-jsx-sequence-expressions-12484
CodSpeed Performance Gauge
0%
chore(ci): allow TSRX contributors
#12482
4 days ago
1c52be7
codex/add-tsrx-contributors
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs