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

Could not compile swc_core@0.67.4 in Rust nightly 2022-12-31 #7061

Closed
hyf0 opened this issue Mar 12, 2023 · 2 comments · Fixed by #7062
Closed

Could not compile swc_core@0.67.4 in Rust nightly 2022-12-31 #7061

hyf0 opened this issue Mar 12, 2023 · 2 comments · Fixed by #7062
Assignees
Labels
Milestone

Comments

@hyf0
Copy link
Contributor

hyf0 commented Mar 12, 2023

Describe the bug

image

If I switch the nightly version SWC used, then everything is ok.

It's not just 2022-12-31 that could not compile and seems all 2023-xx-xx could not compile.

Input code

No response

Config

No response

Playground link

No response

Expected behavior

Should compile without errors.

Actual behavior

No response

Version

See title

Additional context

No response

@hyf0 hyf0 added the C-bug label Mar 12, 2023
@kdy1 kdy1 added this to the Planned milestone Mar 12, 2023
@kdy1 kdy1 self-assigned this Mar 12, 2023
@kdy1
Copy link
Member

kdy1 commented Mar 12, 2023

Oh now I found the cause...
Layout optimization is changed

kdy1 added a commit that referenced this issue Mar 12, 2023
**Related issue:**

 - Closes #7061.
@kdy1 kdy1 modified the milestones: Planned, v1.3.40 Mar 13, 2023
@swc-bot
Copy link
Collaborator

swc-bot commented Apr 12, 2023

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@swc-project swc-project locked as resolved and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

3 participants