You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 target/ directory and I only need to build the various dependencies once. However, core, compiler_builtins, and alloc seem to get rebuilt every time.
I agree that it might make sense to consider the CARGO_TARGET_DIR environment variable too for placing the sysroot. However, there are some problems with using the same sysroot for mulitple independent projects due to some internal checksums, if I remember correctly.
I'm not sure exactly how this plays out, but I compile a number of crates using
cargo xbuild
, and I try to setCARGO_TARGET_DIR
so that they all share atarget/
directory and I only need to build the various dependencies once. However,core
,compiler_builtins
, andalloc
seem to get rebuilt every time.You can see this in the travis output for any build on https://travis-ci.org/alex/linux-kernel-module-rust
The text was updated successfully, but these errors were encountered: