Skip to content

Commit 2cf084c

Browse files
committed
---
yaml --- r: 127079 b: refs/heads/snap-stage3 c: 2b9c5d2 h: refs/heads/master i: 127077: f6efaae 127075: b8453de 127071: 4017d3c v: v3
1 parent 10aa607 commit 2cf084c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 7be8f0af0393dcdb077c2f6b1653836fd3fba235
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 1a80dcbd56e9b7f81b7d3aa4c3809ed1859fdcf7
4+
refs/heads/snap-stage3: 2b9c5d2f74de052598c62edb20049182112fe9fa
55
refs/heads/try: 502e4c045236682e9728539dc0d2b3d0b237f55c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/doc/guide.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,18 @@ file, we would need to call `rustc` twice, and pass it a bunch of options to
354354
tell it to build everything together. With Cargo, as our project grows, we can
355355
just `cargo build` and it'll work the right way.
356356

357+
You'll also notice that Cargo has created a new file: `Cargo.lock`.
358+
359+
```{ignore,notrust}
360+
[root]
361+
name = "hello_world"
362+
version = "0.0.1"
363+
```
364+
365+
This file is used by Cargo to keep track of dependencies in your application.
366+
Right now, we don't have any, so it's a bit sparse. You won't ever need
367+
to touch this file yourself, just let Cargo handle it.
368+
357369
That's it! We've successfully built `hello_world` with Cargo. Even though our
358370
program is simple, it's using much of the real tooling that you'll use for the
359371
rest of your Rust career.

0 commit comments

Comments
 (0)