https://github.com/servo/servo/pull/19395 has (finally) landed. Instead of custom scripts, Servo now uses rustup.rs (which needs to be installed separately) to download and manage various versions of Rust and Cargo.

These files are kept under $RUSTUP_HOME/toolchains. $RUSTUP_HOME defaults to ~/.rustup

If you’ve built Servo before yesterday, you probably have a .servo directory under your clone of the servo repository that’s taking up disk space with previous copies of Rust and Cargo. It can now be removed.

Similarly, in the default config we used to override $CARGO_HOME (which contains a cache of crates.io and git dependencies) to .cargo under the repo. You also remove that, now we leave the environment’s $CARGO_HOME (which defaults to ~/.cargo). This cache is now shared with other clones of the repository, or with other projects that might use some of the same Rust dependencies.

--
Simon Sapin
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to