cargo build error
cmehmet opened this issue · comments
This is the first error i get;;;
error: in C:\blink\rust-toolchain.toml: invalid toolchain name: 'esp'
After that i change the toolchain name esp to stable in that path C:\blink\rust-toolchain.toml but i get second error like the below;;;
error: failed to run rustc
to learn about target-specific information
Caused by:
process didn't exit successfully: rustc - --crate-name ___ --print=file-names --target xtensa-esp32-espidf --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg
(exit code: 1)
--- stderr
error: Error loading target specification: Could not find specification for target "xtensa-esp32-espidf". Run rustc --print target-list
for a list of built-in targets
![error1](https://private-user-images.githubusercontent.com/75099404/248514969-92e93cd5-f851-4f8f-8a66-400ac9ef1be3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNTY5NzAsIm5iZiI6MTcyNDE1NjY3MCwicGF0aCI6Ii83NTA5OTQwNC8yNDg1MTQ5NjktOTJlOTNjZDUtZjg1MS00ZjhmLThhNjYtNDAwYWM5ZWYxYmUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDEyMjQzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU3YjA2ZDE5OTRlYWVmYTMxNzRmZWI1NjliNjFiOTdlZGIyYWEyZDI2ZmQzY2JlOGZjZTBjNjM4ZDFlNDRmM2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2_Tc6x5BiisDZk6AtoaOso-BHUnQEXgckGN4Kq6EJmI)
![error2](https://private-user-images.githubusercontent.com/75099404/248514990-53be4dd3-49ef-4b70-8ab6-450b9d34e10d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNTY5NzAsIm5iZiI6MTcyNDE1NjY3MCwicGF0aCI6Ii83NTA5OTQwNC8yNDg1MTQ5OTAtNTNiZTRkZDMtNDllZi00YjcwLThhYjYtNDUwYjlkMzRlMTBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDEyMjQzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZmMWE3ZWM0ODI3YWZiODYwNmQzZTM0MDkzY2VhNThkOTkyMjAyZTM0N2JkMzg1MWQ1MTE1YmUyYTFkMGYxYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CAHy9ZxQwHsO0efropAhcPXH-6WS0hJ2Gl_rAq1rISw)
I am grateful for any kind of help
The Xtensa enabled toolchain is not installed, please follow the instructions outlined in the book: https://esp-rs.github.io/book/.
Thank you so much for help