-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 #14743 - ehuss:build-script-errors, r=epage
Allow build scripts to report error messages through `cargo::error` Adds the `cargo::error` build script directive. It is similar to `cargo::warning`, but it emits an error message and it also fails the build. This is a repost of #14435 with the tests updated, a note added to the documentation about using this in a library, and updating the MSRV. Closes #10159
- Loading branch information
Showing
5 changed files
with
380 additions
and
69 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.