Skip to content

Commit 4e4a348

Browse files
committed
---
yaml --- r: 33145 b: refs/heads/dist-snap c: f0c4140 h: refs/heads/master i: 33143: 7015015 v: v3
1 parent 667c12f commit 4e4a348

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: c6330036a4e20a60f7ade12ed9f4d53b8fc9d762
10+
refs/heads/dist-snap: f0c4140dd09555e274e472a0d14fd22bbef579d8
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/doc/tutorial.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,7 @@ fn main() {
128128

129129
If the Rust compiler was installed successfully, running `rustc
130130
hello.rs` will produce an executable called `hello` (or `hello.exe` on
131-
Windows) which, upon running, will likely do exactly what you expect
132-
(unless you are on Windows, in which case what it does is subject
133-
to local weather conditions).
134-
135-
> ***Note:*** That may or may not be hyperbole, but there are some
136-
> 'gotchas' to be aware of on Windows. First, the MinGW environment
137-
> must be set up perfectly. Please read [the
138-
> wiki][wiki-started]. Second, `rustc` may need to be [referred to as
139-
> `rustc.exe`][bug-3319]. It's a bummer, I know, and I am so very
140-
> sorry.
141-
142-
[bug-3319]: https://github.com/mozilla/rust/issues/3319
143-
[wiki-started]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
131+
Windows) which, upon running, will likely do exactly what you expect.
144132

145133
The Rust compiler tries to provide useful information when it runs
146134
into an error. If you modify the program to make it invalid (for
@@ -160,6 +148,15 @@ declaration to appear at the top level of the file—all statements must
160148
live inside a function. Rust programs can also be compiled as
161149
libraries, and included in other programs.
162150

151+
> ***Note:*** There are some 'gotchas' to be aware of on
152+
> Windows. First, the MinGW environment must be set up
153+
> perfectly. Please read [the wiki][wiki-started]. Second, `rustc` may
154+
> need to be [referred to as `rustc.exe`][bug-3319]. It's a bummer, I
155+
> know.
156+
157+
[bug-3319]: https://github.com/mozilla/rust/issues/3319
158+
[wiki-started]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
159+
163160
## Editing Rust code
164161

165162
There are vim highlighting and indentation scripts in the Rust source

0 commit comments

Comments
 (0)