-
Notifications
You must be signed in to change notification settings - Fork 187
feat: Use new asm! instead of llvm_asm! #86
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
Conversation
|
Thank you! Could you also add a change log entry? |
|
@Disasm ok, done |
dkhayes117
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overall.
CHANGELOG.md
Outdated
|
|
||
| ### Changed | ||
|
|
||
| - - Use new `asm!` instead of `llvm_asm!` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the double bullet points ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, my mistake (|| -_-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
bors r+ |
91: Add inline-asm build to CI, fix build r=dkhayes117 a=Disasm #86 introduced new `asm!` syntax which is enabled with the `inline-asm` feature. However, it doesn't work with current nightly since `asm_const` unstable feature is not enabled. This PR fixes the problem and adds automatic checks to CI. Co-authored-by: Vadim Kaushan <admin@disasm.info>
The new
asmmacro has been merged intonightlyfor some time, whilellvm_asmwill be gradually deprecated and will not enterstable. This PR replacesllvm_asmwithasm, but there are still some minor issues to discuss.My reference are:
In the new
asmfeature, there are several options can set to optimize codes. optionsHowever, I'm not quite sure which options to set. (Sort of newbie to asm in rust)