@@ -27,7 +27,7 @@ Some example use cases of the build command are:
27
27
* Building a bundled C library.
28
28
* Finding a C library on the host system.
29
29
* Generating a Rust module from a specification.
30
- * Performing any platform-specific configuration neeeded for the crate.
30
+ * Performing any platform-specific configuration needed for the crate.
31
31
32
32
Each of these use cases will be detailed in full below to give examples of how
33
33
the build command works.
203
203
build = " build.rs"
204
204
```
205
205
206
- Here we can se we've got a build script specified which we'll use to generate
206
+ Here we can see we've got a build script specified which we'll use to generate
207
207
some code. Let's see what's inside the build script:
208
208
209
209
``` rust,no_run
@@ -225,10 +225,10 @@ fn main() {
225
225
226
226
There's a couple of points of note here:
227
227
228
- * The script uses the ` OUT_DIR ` environment variable to discover where the ouput
229
- files should be located. It can use the process's current working directory to
230
- find where the input files should be located, but in this case we don't have
231
- any input files.
228
+ * The script uses the ` OUT_DIR ` environment variable to discover where the
229
+ output files should be located. It can use the process's current working
230
+ directory to find where the input files should be located, but in this case we
231
+ don't have any input files.
232
232
* This script is relatively simple as it just writes out a small generated file.
233
233
One could imagine that other more fanciful operations could take place such as
234
234
generating a Rust module from a C header file or another language definition,
0 commit comments