-
Notifications
You must be signed in to change notification settings - Fork 45
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
Flowistry 0.5.41 fails to cross-compile on Macbook M1 #86
Comments
Hi @yarrow, thanks for the report. I believe this is a fundamental limitation to using code that links against the compiler via |
Thanks! I've checked, and Flowistry does work if I create a
(overriding the global |
Wait sorry -- are you trying to use x86-compiled Flowistry? Or are you trying to use ARM-compiled Flowistry on x86-targeted code? I just tried cross-compiling Flowistry on my laptop and still got an error:
|
Flowistry works in Rosetta mode if I compile my project for x86 and use x86-compiled Flowistry with the x86-compiled rustc. (I usually use the x86 rustc in Rosetta mode with an aarch64-apple-darwin target — I want to use a Tier 1 compiler but produce binaries that run faster on my machine.) |
Likely this is because I'm running an x86_64 compiler but asking it to build for Apple silicon. (I've been reluctant to use a Tier 2 compiler since no CI tests are run, so my
rustc
is x86_64 running under Rosetta; on the other hand, some other projects run better when compiled for Apple silicon. This is the first time I've run into a problem with the setup.)The text was updated successfully, but these errors were encountered: