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

Replace asm! macro with llvm_asm! #18

Merged
merged 2 commits into from
May 23, 2020
Merged

Conversation

JohnTitor
Copy link
Contributor

It becomes a hard error in the latest nightly:

error: legacy asm! syntax is no longer supported
   --> /cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/extprim-1.7.0/src/u128.rs:884:9
    |
884 |           asm!("
    |           ^---
    |           |
    |  _________help: replace with: `llvm_asm!`
    | |
885 | |             movq $2, %rax
886 | |             mulq $3
887 | |             movq %rax, $0
...   |
891 | |         : "r"(left), "r"(right)
892 | |         : "rax", "rdx");
    | |________________________^

error: aborting due to previous error

r? @kennytm

@kennytm kennytm merged commit 44ddb15 into kennytm:master May 23, 2020
@JohnTitor JohnTitor deleted the llvm-asm branch May 23, 2020 08:12
@JohnTitor JohnTitor restored the llvm-asm branch May 23, 2020 13:55
This was referenced May 29, 2020
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.

2 participants