Repository navigation
build: Migrate box patterns to deref patterns and update nightly - #662
Merged
Donny/강동윤 (kdy1) merged 4 commits intoOct 6, 2026
Merged
Conversation
Niklas Mischkulnig (mischnic)
commented
Oct 5, 2026
Contributor
- Migrate from box_patterns to defer_patterns
- Upgrade to nightly-2026-04-10 (same as the main swc repo)
🦋 Changeset detectedLatest commit: 7bb6d7d The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Niklas Mischkulnig (mischnic)
added a commit
to vercel/next.js
that referenced
this pull request
Oct 7, 2026
- ~~Blocked by swc-project/plugins#662 because box_patterns was removed~~ - ~~Blocked on rust-lang/miri@87c4b12 so that Miri just works again~~ - Upgrade napi-build for napi-rs/napi-rs#3492 to fix `duplicate symbol: _initialize` in WASM Still running into ``` @next/swc:test-cargo-unit-miri: error: unsupported operation: fdatasync is only supported on file-backed file descriptors @next/swc:test-cargo-unit-miri: --> /home/runner/.rustup/toolchains/nightly-2026-10-06-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/unix.rs:1279:13 @next/swc:test-cargo-unit-miri: | @next/swc:test-cargo-unit-miri: 1279 | libc::fdatasync(fd) @next/swc:test-cargo-unit-miri: | ^^^^^^^^^^^^^^^^^^^ unsupported operation occurred here @next/swc:test-cargo-unit-miri: | @next/swc:test-cargo-unit-miri: = help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support @next/swc:test-cargo-unit-miri: = note: this is on thread `tests::whole_ke` @next/swc:test-cargo-unit-miri: = note: stack backtrace: @next/swc:test-cargo-unit-miri: 0: std::sys::fs::unix::File::datasync::os_datasync @next/swc:test-cargo-unit-miri: at /home/runner/.rustup/toolchains/nightly-2026-10-06-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/unix.rs:1279:13: 1279:32 @next/swc:test-cargo-unit-miri: 1: std::sys::fs::unix::File::datasync::{closure#0} @next/swc:test-cargo-unit-miri: at /home/runner/.rustup/toolchains/nightly-2026-10-06-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/unix.rs:1258:27: 1258:56 @next/swc:test-cargo-unit-miri: 2: std::sys::pal::unix::cvt_r::<i32, {closure@std::sys::fs::unix::File::datasync::{closure#0}}> @next/swc:test-cargo-unit-miri: at /home/runner/.rustup/toolchains/nightly-2026-10-06-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/mod.rs:250:19: 250:22 @next/swc:test-cargo-unit-miri: 3: std::sys::fs::unix::File::datasync @next/swc:test-cargo-unit-miri: at /home/runner/.rustup/toolchains/nightly-2026-10-06-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/unix.rs:1258:9: 1258:59 @next/swc:test-cargo-unit-miri: 4: std::fs::File::sync_data @next/swc:test-cargo-unit-miri: at /home/runner/.rustup/toolchains/nightly-2026-10-06-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/fs.rs:823:9: 823:30 @next/swc:test-cargo-unit-miri: 5: fs_err::File::sync_data @next/swc:test-cargo-unit-miri: at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/fs-err-3.3.1/src/file.rs:109:9: 110:25 @next/swc:test-cargo-unit-miri: 6: db::commit_current::{closure#0} @next/swc:test-cargo-unit-miri: at turbopack/crates/turbo-persistence/src/db.rs:252:25: 252:40 ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.