-
Notifications
You must be signed in to change notification settings - Fork 168
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 |
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
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). | |||
|
|||
## [Unreleased] | |||
|
|||
### 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 <[email protected]>
86: Update CHANGELOG.md r=almindor a=parkero Adds currently unreleased changes for #85 Co-authored-by: parkero <[email protected]>
The new
asm
macro has been merged intonightly
for some time, whilellvm_asm
will be gradually deprecated and will not enterstable
. This PR replacesllvm_asm
withasm
, but there are still some minor issues to discuss.My reference are:
In the new
asm
feature, 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)