Skip to content

cargo xbuild fails to build for riscv64gc-unknown-linux-musl #107

@walksanatora

Description

@walksanatora
error[E0464]: multiple candidates for `rmeta` dependency `core` found --> /home/walksanator/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9 | 4 | pub use core::*; | ^^^^ | = note: candidate #1: /tmp/cargo-xbuildui1JMz/target/riscv64gc-unknown-linux-musl/release/deps/libcore-5e0758bd9f6fbbc9.rmeta = note: candidate #2: /tmp/cargo-xbuildui1JMz/target/riscv64gc-unknown-linux-musl/release/deps/libcore-48461cb5a681c214.rmeta For more information about this error, try `rustc --explain E0464`. error: could not compile `rustc-std-workspace-core` due to previous error warning: build failed, waiting for other jobs to finish... error: `CARGO_TARGET_DIR="/tmp/cargo-xbuildui1JMz/target" RUSTFLAGS="-Cembed-bitcode=yes" __CARGO_DEFAULT_LIB_METADATA="XARGO" "/home/walksanator/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "rustc" "-p" "alloc" "--release" "--manifest-path" "/tmp/cargo-xbuildui1JMz/Cargo.toml" "--target" "riscv64gc-unknown-linux-musl" "--" "-Z" "force-unstable-if-unmarked"` failed with exit code: Some(101) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions