Skip to content

Commit

Permalink
Auto merge of #4619 - camjackson:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Document how to make `build.rs` write to the terminal

Documenting the solution mentioned here: #985
  • Loading branch information
bors committed Oct 15, 2017
2 parents 2e61564 + 723945c commit 2f77974
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 2f77974

Please sign in to comment.