Skip to content
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

No matching package named core found when building quickstart project #4

Open
jcard0na opened this issue Sep 29, 2020 · 1 comment
Open

Comments

@jcard0na
Copy link

I just attempted to build the image but encountered an error in one of the last steps, when the quickstart project is built:

root@b9a96fa5aa60:/xtensa-rust-quickstart# xargo build
warning: dependency (core) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
    Updating crates.io index
error: no matching package named `core` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `sysroot v0.0.0 (/tmp/xargo.bPt5rGmgAVze)`
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.bPt5rGmgAVze/Cargo.toml" "--target" "xtensa-esp32-none-elf" "-p" "core"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace

I'll be happy to try any suggestions and report.

@madbrenner
Copy link

@jcard0na I had a similar issue with building the quickstart project with this, so I created my own Docker image that uses cargo xbuild with support for building the project, converting the output binary to an image file, and/or flashing the image to an ESP32.
Please check it out and let me know how it works for you!
Docker Hub: https://hub.docker.com/r/madbrenner/rust-esp32
Source: https://gitlab.com/madbrenner/rust-esp32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants