Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While working on converting our UEFI images to a workspace I found that the cargo configuration file cannot be used. `config.toml` is a *project*-level configuration. It will only be read from the current directory and up, and not in: - package directories in a workspace - package directory when `--manifest-path` is used Use `build.rs` instead, which will be executed before the package is built and only apply the flags for the specific package. Ref: https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure Ref: https://doc.rust-lang.org/cargo/reference/build-scripts.html Signed-off-by: Tim Crawford <[email protected]>
- Loading branch information