Hi,
Is it fair to say that all Rust code being built with cargo supports setting build.target-dir = /some/other/path, or is it just most and there are some projects that needs to be built in-tree?
Cheers,
Ross
Hi,
Is it fair to say that all Rust code being built with cargo supports setting build.target-dir = /some/other/path, or is it just most and there are some projects that needs to be built in-tree?
Cheers,
Ross
It is technically possible for build scripts to do things like write to the source directory, but that is not something cargo actually allows, it just can't prevent it although it does try to check for this in the validation step that by default happens when you try to publish a crate. So practically speaking you are unlikely to find a project that doesn't support out-of-tree builds.