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.
You can see this in the travis output for any build on https://travis-ci.org/alex/linux-kernel-module-rust
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_DIRso that they all share atarget/directory and I only need to build the various dependencies once. However,core,compiler_builtins, andallocseem 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