Avatar for the swc-project user
swc-project
swc
BlogDocsChangelog

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
chore: Add changeset
codex/fix-jsx-sequence-expressions-12484
3 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%
3 days ago
b64a46d
codex/fix-jsx-sequence-expressions-12484
CodSpeed Performance Gauge
0%
4 days ago
1c52be7
codex/add-tsrx-contributors
© 2026 CodSpeed Technology
Home Terms Privacy Docs