esp-rs / rust-build

Installation tools and workflows for deploying/building Rust fork esp-rs/rust with Xtensa and RISC-V support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install script some problems in windows (Environment variables)

pan-xw opened this issue · comments

1, No process RUSTUP_HOME and CARGO_HOME Environment variables. but in not windows (.sh file) is done.
2, The LIBCLANG_PATH set to file is bug? If set to the file(libclang.dll), then cannot compile, report: Could not find specification for target "xtensa-esp32-espidf" like https://github.com/ivmarkov/rust-esp32-std-demo/issues/20. I set to the path where is the libclang.dll, and then ok.

Do you mind using espup for the installation? It is a rust version of the installers' scripts, and we are slightly moving to this approach. Using espup allows modifying the installation path via RUSTUP_HOME and CARGO_HOME environment variables.

Do you mind using espup for the installation? It is a rust version of the installers' scripts, and we are slightly moving to this approach. Using espup allows modifying the installation path via RUSTUP_HOME and CARGO_HOME environment variables.

Good! I didn't find espup before. I will try it.

Good! I didn't find espup before. I will try it.

Let me know how it goes!

Good! I didn't find espup before. I will try it.

Let me know how it goes!

I've tried. It build esp32 and esp32c3 ok. Thank you for the work!