Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rustc bug in turbopack-trace-server #8158

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

arlyon
Copy link
Contributor

@arlyon arlyon commented May 16, 2024

Description

unfortunately there is a rustc bug that crashes when the typechecking in run in this crate during compiles for next-swc when using Either<impl Iterator, impl Iterator>. Solution is to use a Boxed iterator

Testing Instructions

Existing tests OK

Copy link

vercel bot commented May 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 1:25pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 1:25pm
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 1:25pm

Copy link
Contributor Author

arlyon commented May 16, 2024

Copy link
Contributor

github-actions bot commented May 16, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@arlyon arlyon marked this pull request as ready for review May 16, 2024 08:07
@arlyon arlyon requested a review from a team as a code owner May 16, 2024 08:07
Copy link
Contributor

github-actions bot commented May 16, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

Copy link
Contributor

✅ This change can build next-swc

@bgw
Copy link
Member

bgw commented May 16, 2024

Nice! Hopefully if we can keep an eye on rust-lang/rust#124891 we can revert this once fixed.

@arlyon arlyon enabled auto-merge (squash) May 21, 2024 13:36
@arlyon arlyon merged commit 0c84bcb into main May 21, 2024
46 of 47 checks passed
@arlyon arlyon deleted the arlyon/turbo-trace-rustc-bug branch May 21, 2024 13:43
tknickman pushed a commit that referenced this pull request May 21, 2024
### Description

unfortunately there is a rustc bug that crashes when the typechecking in
run in this crate during compiles for next-swc when using `Either<impl
Iterator, impl Iterator>`. Solution is to use a Boxed iterator

### Testing Instructions

Existing tests OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants