Skip to content

Restore #![no_std] support for cranelift#13401

Open
tomaka wants to merge 1 commit into
bytecodealliance:mainfrom
tomaka:nostd
Open

Restore #![no_std] support for cranelift#13401
tomaka wants to merge 1 commit into
bytecodealliance:mainfrom
tomaka:nostd

Conversation

@tomaka
Copy link
Copy Markdown

@tomaka tomaka commented May 17, 2026

Hello,

Support for #![no_std] for cranelift is currently broken, and this PR attempts to fix this.

I integrated #12947 for the changes in the frontend crate, alongside with the changes to the CI that were requested in the PR review.

I've also removed the requirement on the std feature of cranelift-codegen, as otherwise cranelift-frontend automatically pulls in this std feature.
I did this last change a bit blindly. A quick git blame has led me to #7369. Unfortunately I don't know enough to know to know whether removing this std breaks anything, nor if it makes sense to leave unwind.

@tomaka tomaka requested review from a team as code owners May 17, 2026 13:40
@tomaka tomaka requested review from alexcrichton and cfallin and removed request for a team May 17, 2026 13:40
@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label May 17, 2026
Copy link
Copy Markdown
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

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

Thanks!

@alexcrichton alexcrichton added this pull request to the merge queue May 17, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 17, 2026
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.

2 participants