Skip to content

Commit

Permalink
Update src/doc/src/reference/build-scripts.md
Browse files Browse the repository at this point in the history
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
  • Loading branch information
torhovland and weihanglo authored Aug 23, 2024
1 parent d728569 commit 2b1c7a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/src/reference/build-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ to set the shared library version or the runtime-path.
The `error` instruction tells Cargo to display an error after the build script
has finished running, and then fail the build.

> **MSRV:** Respected as of 1.82
### `cargo::warning=MESSAGE` {#cargo-warning}

The `warning` instruction tells Cargo to display a warning after the build
Expand Down

0 comments on commit 2b1c7a9

Please sign in to comment.