Skip to content

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Jan 31, 2025

There is a mismatch in the ffi ABI between c and rust. Rust library doesn't use SSE, so won't use XMM registers for passing floats as arguments, but clang will. This is a temporary fix until I figure out how to properly set this

…M registers for passing floats to rust functions that don't expect it

Signed-off-by: Ludvig Liljenberg <lliljenberg@microsoft.com>
@ludfjig ludfjig added the kind/bugfix For PRs that fix bugs label Jan 31, 2025
@danbugs
Copy link
Contributor

danbugs commented Mar 17, 2025

Are you still planning on merging this, @ludfjig ?

@ludfjig
Copy link
Contributor Author

ludfjig commented Apr 9, 2025

Are you still planning on merging this, @ludfjig ?

Clang's docs state that this is an aarch64 only flag so probably not in this state at least. Unsure why this works at all tbh :D

@ludfjig ludfjig marked this pull request as draft April 9, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bugfix For PRs that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants