Open mcseemk opened 3 years ago
I run into this same issue yesterday. I don't know the "right" solution. As it is describe in the error message, the compiler on AWS aarch64 instance does not support "-m64". I forked the code and removed the "-m64" from the build.rs
and I pointed the line in my Cargo.toml
to my forked repo to build. That worked. Maybe the correct way to do this is to detect the system architecture properly and set the complier options accordingly.
It's likely that https://github.com/purpleprotocol/mimalloc_rust/pull/58 will fix this.
Think so too, we are actively using #58 on aarch64-apple-darwin
and aarch64-linux-android
I will test #58 on AWS arrch64 later to confirm.
Here is the output: