Skip to content

Commit 6e5a746

Browse files
epagetorhovland
authored andcommitted
docs(ref): Clarify when warnings are shown
1 parent b57cdb5 commit 6e5a746

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/src/reference/build-scripts.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,9 @@ to set the shared library version or the runtime-path.
318318
The `warning` instruction tells Cargo to display a warning after the build
319319
script has finished running. Warnings are only shown for `path` dependencies
320320
(that is, those you're working on locally), so for example warnings printed
321-
out in [crates.io] crates are not emitted by default. The `-vv` "very verbose"
322-
flag may be used to have Cargo display warnings for all crates.
321+
out in [crates.io] crates are not emitted by default, unless the build fails.
322+
The `-vv` "very verbose" flag may be used to have Cargo display warnings for
323+
all crates.
323324

324325
## Build Dependencies
325326

0 commit comments

Comments
 (0)