Skip to content

Support and stabilize inline asm on all platforms #1403

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

Merged
merged 4 commits into from
Oct 29, 2023

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Oct 29, 2023

For Windows compatibility we now use the LLVM backend of rustc as "external assembler".

I discovered that more crates than I initially expected already depend on inline asm for at least x86. This includes Bevy through one of its dependencies.

Part of #1204

The LLVM backend is generally available, while the gnu assembler is not
on Windows and many other platforms by default.
@bjorn3 bjorn3 force-pushed the use_llvm_backend_as_assembler branch from 1ada9ad to 20e4436 Compare October 29, 2023 16:14
But exclude sym operands for now as they are somewhat broken.
@bjorn3 bjorn3 force-pushed the use_llvm_backend_as_assembler branch from 20e4436 to 35453ac Compare October 29, 2023 16:41
@bjorn3 bjorn3 force-pushed the use_llvm_backend_as_assembler branch from 8b24434 to 69c6aa5 Compare October 29, 2023 19:45
@bjorn3 bjorn3 merged commit 9436eae into master Oct 29, 2023
@bjorn3 bjorn3 deleted the use_llvm_backend_as_assembler branch October 29, 2023 20:14
@bjorn3 bjorn3 mentioned this pull request Oct 29, 2023
21 tasks
bjorn3 added a commit that referenced this pull request Oct 30, 2023
#1403 extended support to all targets supported by cg_clif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant