You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/trpl/hello-cargo.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,11 @@ Hello, world!
85
85
Bam! We build our project with `cargo build`, and run it with
86
86
`./target/debug/hello_world`. This hasn't bought us a whole lot over our simple use
87
87
of `rustc`, but think about the future: when our project has more than one
88
-
file, we would need to call `rustc` more than once, and pass it a bunch of options to
88
+
file, we would need to call `rustc` more than once and pass it a bunch of options to
89
89
tell it to build everything together. With Cargo, as our project grows, we can
90
-
just `cargo build` and it'll work the right way. When you're project is finally ready for release, you can use `cargo build --release` to compile your crates with optimizations.
90
+
just `cargo build`, and it'll work the right way. When your project is finally
91
+
ready for release, you can use `cargo build --release` to compile your crates with
92
+
optimizations.
91
93
92
94
You'll also notice that Cargo has created a new file: `Cargo.lock`.
0 commit comments