Outsourcing the `target` directory for every project
⚓ Rust 📅 2025-12-29 👤 surdeus 👁️ 7Because project using crates like bevy tend to have very big targetdirectories (especially because of the intermediate build artifacts I guess), it would be nice to be able to have all these build artifacts in another place (say an external storage). Currently, this is only possible by manually setting it via the build.build-dir option of the config.toml manifest, so it would be nice to have an option that redirects every build-dir to this location. Is this already an option I did not know of, are there any hacks to do it or is it currently impossible?
Thanks in advance
6 posts - 3 participants
🏷️ Rust_feed