-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #12289 - epage:basic, r=weihanglo
fix: Allow embedded manifests in all commands ### What does this PR try to resolve? This is a part of #12207. One of the goals is for embedded manifests to be a first class citizen. If you have a script, you should be able to run tests on it, for example. This expands the error check from just `Cargo.toml` to also single-file packages so you can use it in `--manifest-path`. This, however, does mean that these *can* be used in places that likely won't work yet, like `cargo publish`. ### How should we test and review this PR? By commit. We introduce tests for basic commands and then implement and refine the support for this. ### Additional information Other information you want to mention in this PR, such as prior arts, future extensions, an unresolved problem, or a TODO list.
- Loading branch information
Showing
4 changed files
with
491 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.