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

Use asm! now that rust-lang/rust#72965 is fixed? #28

Open
ssokolow opened this issue Apr 18, 2022 · 0 comments
Open

Use asm! now that rust-lang/rust#72965 is fixed? #28

ssokolow opened this issue Apr 18, 2022 · 0 comments

Comments

@ssokolow
Copy link

You mention in #23 that...

I changed it to use llvm_asm! (unfortunately, the new asm! cannot be used due to rust-lang/rust#72965) and released 0.2.4, could you check if it it works for you, and if it does, close this issue?

With asm! stabilized since 1.59 and rust-lang/rust#72965 listed as fixed by rust-lang/rust#73230, would it now be feasible to use asm! and make the inline assembly option available on stable compilers?

It'd be nice to have something without the "nightly or cc or not recommended" choice to recommend to people who come in off the "actually I can’t find a simple safe way to zero memory in Rust" in https://wiki.alopex.li/LetsBeRealAboutDependencies

@ssokolow ssokolow changed the title Use asm! now that #72965 is fixed? Use asm! now that rust-lang/rust#72965 is fixed? Apr 18, 2022
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

No branches or pull requests

1 participant