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

Stop formatting ISLE generated code #9901

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented Dec 24, 2024

The tool stack overflows in default configurations (Windows on my machine (tm) / CI).

Example from a recent CI run: https://github.com/bytecodealliance/wasmtime/actions/runs/12472519540/job/34811457587?pr=9897:

warning: cranelift-codegen@0.116.0: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }

Closes #9899.

The tool stack overflows in default configurations (Windows/CI).
@SingleAccretion SingleAccretion marked this pull request as ready for review December 24, 2024 20:28
@SingleAccretion SingleAccretion requested a review from a team as a code owner December 24, 2024 20:28
@SingleAccretion SingleAccretion requested review from cfallin and removed request for a team December 24, 2024 20:28
@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Dec 24, 2024
Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Since the discussion on the bug I think I've realized why we had this to begin with: we were originally checking in the generated code to git (and updating when ISLE source changed), so this was likely load-bearing for passing CI formatting checks. Fortunately we don't do that anymore (ISLE-generated Rust is purely a build artifact) so we probably don't have any more reasons we'd want this back. Of course we can always revert if that changes.

@cfallin cfallin added this pull request to the merge queue Dec 26, 2024
Merged via the queue into bytecodealliance:main with commit 6e95518 Dec 26, 2024
39 checks passed
@SingleAccretion SingleAccretion deleted the No-Fmt branch December 26, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Permanent build warnings about Failed to run rustfmt on ISLE-generated code
2 participants