]> git.proxmox.com Git - cargo.git/commitdiff
Mention that binary location changes when using --release
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Fri, 13 May 2016 16:31:57 +0000 (12:31 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Fri, 13 May 2016 16:59:41 +0000 (12:59 -0400)
src/doc/guide.md

index 912566d14fb204853093d207a386ceadbacd3203..a175dec89541df9b41446e085366d273277b313a 100644 (file)
@@ -103,6 +103,9 @@ Once you’re ready for release, you can use `cargo build --release` to compile
 <span style="font-weight: bold"
 class="s1">   Compiling</span> hello_world v0.1.0 (file:///path/to/project/hello_world)</code></pre>
 
+`cargo build --release` puts the resulting binary in
+`target/release/hello_world` instead of `target/debug`.
+
 # Working on an existing Cargo project
 
 If you download an existing project that uses Cargo, it’s really easy