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

Why not inline asm in Rust, but inline it in C and then FFI? #308

Open
stackinspector opened this issue May 30, 2023 · 0 comments
Open

Why not inline asm in Rust, but inline it in C and then FFI? #308

stackinspector opened this issue May 30, 2023 · 0 comments

Comments

@stackinspector
Copy link

stackinspector commented May 30, 2023

This would create unnecessary FFI and have to call C compiler when Rust version compiles. Rust nowadays have no problem calling the instruction set manually and inlining asm, but I'm not sure if we can inline asm in external files.

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