Skip to content

Build fail after rustup latest update. #99281

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

Closed
yashwanthsinghm opened this issue Jul 15, 2022 · 2 comments
Closed

Build fail after rustup latest update. #99281

yashwanthsinghm opened this issue Jul 15, 2022 · 2 comments

Comments

@yashwanthsinghm
Copy link

Im working on rustBoot repository https://github.com/yashwanthsinghm/rustBoot . After new nightly update 11 July , who ever did rustup update are facing compiling issue .So would someone hep in solving this issue?

Before update

yashwanthsingh@Yashwanths-MBP rustBoot % cargo stm32f411 build rustBoot-only                      
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/xtask stm32f411 build rustBoot-only`
$ cargo build --release
    Finished release [optimized] target(s) in 0.33s

After update

udayakumar@udayakumar-VirtualBox:~/devspace/rustBoot$ cargo stm32f411 build rustBoot-only
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `target/debug/xtask stm32f411 build rustBoot-only`
$ cargo build --release
error: package `/home/udayakumar/devspace/rustBoot/boards/update/Cargo.toml` is a member of the wrong workspace
expected: /home/udayakumar/devspace/rustBoot/boards/Cargo.toml
actual:   /home/udayakumar/devspace/rustBoot/Cargo.toml
Error: command `cargo build --release` failed, exit status: 101
@ehuss
Copy link
Contributor

ehuss commented Jul 15, 2022

This should be fixed in last night's nightly (nightly-2022-07-15)

cc rust-lang/cargo#10864

If you continue to have issues with cargo, feel free to open an issue at https://github.com/rust-lang/cargo/issues

@ehuss ehuss closed this as completed Jul 15, 2022
@yashwanthsinghm
Copy link
Author

Thank you @ehuss , after nightly-2022-07-15 update its working fine.

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