-
Notifications
You must be signed in to change notification settings - Fork 24
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
Windows aarch64 support #469
Comments
In the meantime, can you build it from source?? |
Funily enough i had tried after installing clang, but i forgot to restart the terminal and it failed because clang wasn't detected. trying it out now, the build succeeded ! Having a prebuilt binary amongst the other OSes would be nice for consistancy, though. |
Edit: trying to run the .exe i get the error
|
Ahh right! Sorry I didn't think of this, we don't have Xtensa Rust binaries (generated in rust-build) for aarch64-windows. |
Thanks for the report @ShyneTurtle. As github don't currently offer a aarch64 windows runner (except for paid users), and we don't have any hardware in our server room with this combo, we are unfortunately unable to provide prebuilt compilers for this host. You may be able to get around this limitation by using The final option is building the compiler itself, which honestly isn't that difficult provided you can install the required dependencies for your platform. See https://github.com/esp-rs/rust#building-from-source |
Thank you both for the insights ! I'm considering building from source but i'm worried about maintaining the installation: how would the fork compare to rustup in terms of ease of use and updates ? also letting you know that in the meantime I managed to install the x86 version of esptool using cargo-binstall |
All the dependencies are the same as upstream Rust, so it works the same way. We rebase on the stable release branch only, which is currently https://github.com/esp-rs/rust 1.84, when we rebase for 1.85 you can choose to upgrade (meaning compile it again) or stay on your current version if it's working. |
Thank you for your answer, i'll try that next. I'm not sure if the issue is the fact that i installed aarch64 rust and clang+llvm, while using esptool on x86, but while compiling my project i get an error while compiling esp-idf-sys : |
embuild, and likely the entire esp-idf build system (this might not be true, I just don't know) doesn't know about your host machine. You might have better luck with the officially supported bare metal programming environment: https://github.com/esp-rs/esp-hal. |
The downer is really that the laptop is capable of emulating x86 for compatibility, but the software won't run because of runtime compatibility checks. For this to work i'd have to self-compile and edit code in most of How would building |
Motivations
I recently bought a windows on ARM laptop (Snapdragon X), however
espup
does not feature a build for it and since my rustup installation isaarch64
, i can't use the x86 one with emulation.No, i don't have time to jump into a project i don't know the inner workings of.
Solution
Since
linux
anddarwin
both featureaarch64
builds i assume it would be as simple as adding the builds forwindows aarch64
in some kind of configAlternatives
N/S
Additional context
N/S
The text was updated successfully, but these errors were encountered: