Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Controls whether we add cargo command line options relating to
finding `Cargo.toml`, to the command to run.
Controls whether we add cargo command line options relating to
finding `Cargo.toml`, to the command to run.
- Default is to add them iff we are doing an out-of-tree build,
+ Default is to add them if we are doing an out-of-tree build,
unless we are doing the dance to update the `Cargo.lock` (see
above) in which case the only relevant files are to be found in
the build directory).
unless we are doing the dance to update the `Cargo.lock` (see
above) in which case the only relevant files are to be found in
the build directory).
not so easy to fix; we would want the existing algorithm but a
fallback for this case.
not so easy to fix; we would want the existing algorithm but a
fallback for this case.
- * Cargo.nail is unconditionally looked for in `..`. Ideally should be
- configurable, and also perhaps be able to combine multiple Cargo.nail
- files? Relatedly, although nailing-cargo can read multiple config
- filos, it can only handle one file specifying directories and
- packages.
+ * Cargo.nail is unconditionally looked for in the parent
+ directory. Ideally should be configurable, and also perhaps be
+ able to combine multiple Cargo.nail files? Relatedly, although
+ nailing-cargo can read multiple config filos, it can only handle
+ one file specifying directories and packages.
* Contributions to address these would be welcome, of course. If you
plan to do substantial work, please do get in touch with a sketch of
* Contributions to address these would be welcome, of course. If you
plan to do substantial work, please do get in touch with a sketch of