Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP: spirv_asm: introduce InlineAsmCx to allow implementing global_asm!. #368

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

Draft
eddyb wants to merge 2 commits into Rust-GPU:main
base: main
Choose a base branch
Loading
from LykenSol:inline-asm-cx

Conversation

Copy link
Collaborator

@eddyb eddyb commented Aug 18, 2025
edited
Loading

Temporarily based on (only the last commit is specific to this PR):


I have no plans/need for this currently, but if there is a desire for global_asm!, this approach was what I had in mind back in early 2021 (from when I have had this branch lingering around my local checkout).

I don't really like the bit of code duplication, and more fine-grained Spans should be possible, but without some tests this is not really going to ever do much anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@LegNeato LegNeato Awaiting requested review from LegNeato LegNeato will be requested when the pull request is marked ready for review LegNeato is a code owner

@Firestar99 Firestar99 Awaiting requested review from Firestar99 Firestar99 will be requested when the pull request is marked ready for review Firestar99 is a code owner

@schell schell Awaiting requested review from schell schell will be requested when the pull request is marked ready for review schell is a code owner

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /