Document how to make `build.rs` write to the terminal
authorCam Jackson <camjackson89@gmail.com>
Sun, 15 Oct 2017 03:30:38 +0000 (11:30 +0800)
committerGitHub <noreply@github.com>
Sun, 15 Oct 2017 03:30:38 +0000 (11:30 +0800)
src/doc/build-script.md

index d05e6ba2c271608fbdd4e5114881a4f32dfe9b7d..e4e528646c1454933ada641e210afcf95a6a9b23 100644 (file)
@@ -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