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

Remove support for floating-point constants in asm! #85290

Merged
merged 2 commits into from
May 16, 2021

Conversation

Amanieu
Copy link
Member

@Amanieu Amanieu commented May 14, 2021

Floating-point constants aren't very useful anyways and this simplifies
the code since the type check can now be done in typeck.

cc @rust-lang/wg-inline-asm

r? @nagisa

Floating-point constants aren't very useful anyways and this simplifies
the code since the type check can now be done in typeck.
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 14, 2021
@joshtriplett
Copy link
Member

This seems reasonable; floating-point operands are important, but floating-point literals being substituted textually into assembly seems extremely unlikely to be useful.

@nagisa
Copy link
Member

nagisa commented May 16, 2021

@bors r+

@bors
Copy link
Contributor

bors commented May 16, 2021

📌 Commit 1605e0e has been approved by nagisa

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 16, 2021
@bors
Copy link
Contributor

bors commented May 16, 2021

⌛ Testing commit 1605e0e with merge 7dc9ff5...

@bors
Copy link
Contributor

bors commented May 16, 2021

☀️ Test successful - checks-actions
Approved by: nagisa
Pushing 7dc9ff5 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 16, 2021
@bors bors merged commit 7dc9ff5 into rust-lang:master May 16, 2021
@rustbot rustbot added this to the 1.54.0 milestone May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants