Closed jdidion closed 1 year ago
This also breaks pyd4 on m1 inside a docker container.
It appears this can be worked around by letting the compiler infer type, i.e.
let raw_name = unsafe { CStr::from_ptr(*raw_name as *const _) };
But since I am no rust dev, I have no idea if that is considered good practice or not.
Hi all, sorry for the delay. I just committed a fix for this issue, but not sure if it helps on M1 since I don't have any M1 device on my hand. It would be nice if anyone who can confirm if the latest commit compiles with M1. Close the issue for now, feel free to reopen the issue if the problem persists. Thanks!
Hey thanks for the fix! This compiles fine on arm64 on my M1. A release would be greatly appreciated :)
I am trying to build this in an ubuntu-based Docker image on an M1 mac and get the error:
Here is the Dockerfile: