Skip to content

Commit

Permalink
Document how to make build.rs write to the terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
camjackson authored Oct 15, 2017
1 parent c1dd25a commit 723945c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/doc/build-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ the source directory of the build script’s package.

All the lines printed to stdout by a build script are written to a file like
`target/debug/build/<pkg>/output` (the precise location may depend on your
configuration). Any line that starts with `cargo:` is interpreted directly by
Cargo. This line must be of the form `cargo:key=value`, like the examples below:
configuration). If you would like to see such output directly in your terminal,
invoke cargo as 'very verbose' with the `-vv` flag. Any line that starts with
`cargo:` is interpreted directly by Cargo. This line must be of the form
`cargo:key=value`, like the examples below:

```notrust
# specially recognized by Cargo
Expand Down

0 comments on commit 723945c

Please sign in to comment.