@@ -128,19 +128,7 @@ fn main() {
128
128
129
129
If the Rust compiler was installed successfully, running `rustc
130
130
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.
144
132
145
133
The Rust compiler tries to provide useful information when it runs
146
134
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
160
148
live inside a function. Rust programs can also be compiled as
161
149
libraries, and included in other programs.
162
150
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
+
163
160
## Editing Rust code
164
161
165
162
There are vim highlighting and indentation scripts in the Rust source
0 commit comments