cargo-xbuild icon indicating copy to clipboard operation
cargo-xbuild copied to clipboard

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.

Results 15 cargo-xbuild issues
Sort by recently updated
recently updated
newest added

downloading build roots from bootlin would fix just about every dependecy problem and also they are basically guarenteed to work ex: when building for `riscv64-unknown-linux-musl` you could download the buildroot...

``` 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...

When I build a Kernel Os with some crates ,it happend. Then I tried to give RUSTFLAGS and rebuilded those crates, also failed. But when I used .cargo/config.toml ,set build-std...

I'm trying to use a `build.rs` file with the cc crate to compile C code as part of a library I'm using in my OS. This doesn't seem to work...

Recently, I accidentally uninstalled MSVC tooling on my windows machine unknowingly. This removed the MSVC linker, which (I believe) xbuild normally tries to use. Because I am using git bash,...

xbuild currently compiles core and alloc and puts in the custom sysroot. Is it possible to put a custom std in that location and compile it? The idea is that...

I'm getting this error " = note: rust-lld: error: no memory region specified for section '.got'" which is unexpected because my target does not support the .got section at all....

The --color (never, always) does not work on xbuild (cargo-xbuild 0.5.28)

help wanted

On Windows, xbuild seems to be deleting codegen-backends and other presumably important files before erroring out. ``` C:\Users\me\source\repos\CustomSdkRustInterop\lib_hello>cargo xbuild --target aarch64-custom-elf.json Updating crates.io index Compiling core v0.0.0 (C:\Users\me\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libcore) Compiling compiler_builtins...

I'm not sure exactly how this plays out, but I compile a number of crates using `cargo xbuild`, and I try to set `CARGO_TARGET_DIR` so that they all share a...