Skip to content

Commit

Permalink
Add info about what's different between debug/release
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed May 17, 2016
1 parent 40fd278 commit 9b4174d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ class="s1"> Compiling</span> hello_world v0.1.0 (file:///path/to/project/hello
`cargo build --release` puts the resulting binary in
`target/release` instead of `target/debug`.

Compiling in debug mode is the default for development-- compilation time is
shorter since the compiler doesn't do optimizations, but the code will run
slower. Release mode takes longer to compile, but the code will run faster.

# Working on an existing Cargo project

If you download an existing project that uses Cargo, it’s really easy
Expand Down

0 comments on commit 9b4174d

Please sign in to comment.