-
Notifications
You must be signed in to change notification settings - Fork 106
building rust
component code fails with error: could not read vendor path
#1
Comments
Can you create an empty Let me know the outcome. |
Hey @ivmarkov Thanks for the suggestion, I was able to resolve the
Any suggestion on what I might do to resolve them ? |
That's strange. Looks as if the core crate that xargo compiles is broken. In any case, I found an issue in
Also: looks as if you are building on Mac? Haven't tried there, only Linux. In theory, there should be no difference, but then who knows. Let me try on Mac, but mind you - rebuilding the whole toolchain & all might take a while... |
OK, so on a completely pristine Mac (only brew, Xcode and git installed):
Disclaimers:
|
Huh. Kind of strange. On Mac it also did not even complain about the "vendor" directory. On Linux, it is: |
More on the "vendor" topic. If you want to use regular cargo instead of xargo:
|
@ivmarkov Thanks for the fix, I was able to build the |
Thank you @ivmarkov for providing the solution. It has fixed the issue for me. |
Steps to reproduce:
XARGO_RUST_SRC
withexport XARGO_RUST_SRC=`rustc --print sysroot`/lib/rustlib/src/rust/library
rust-esp32-std-hello/rust
folder and executexargo build --release
It fails with the following error
error: could not read vendor path
The text was updated successfully, but these errors were encountered: