diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-09-30 18:20:03 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-09-30 18:20:03 -0400 |
| commit | bc41536bb485cc346dd7f2ee6df2db28f7ddc6f1 (patch) | |
| tree | d0bf257a1921e439140fb54f56ec90caf7d82b15 /src/doc | |
| parent | 4ab1ac5bc1572e0ba85600be31932c71b9e1b34a (diff) | |
| parent | 16244b884dd7716fbab8e7cd8a235567cee46229 (diff) | |
| download | rust-bc41536bb485cc346dd7f2ee6df2db28f7ddc6f1.tar.gz rust-bc41536bb485cc346dd7f2ee6df2db28f7ddc6f1.zip | |
Rollup merge of #28770 - tshepang:awkward, r=steveklabnik
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/reference.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 73700765b32..ce6d10c2b5d 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -3946,7 +3946,7 @@ found in the [ffi section of the book][ffi]. In one session of compilation, the compiler can generate multiple artifacts through the usage of either command line flags or the `crate_type` attribute. -If one or more command line flag is specified, all `crate_type` attributes will +If one or more command line flags are specified, all `crate_type` attributes will be ignored in favor of only building the artifacts specified by command line. * `--crate-type=bin`, `#[crate_type = "bin"]` - A runnable executable will be @@ -3992,7 +3992,7 @@ Note that these outputs are stackable in the sense that if multiple are specified, then the compiler will produce each form of output at once without having to recompile. However, this only applies for outputs specified by the same method. If only `crate_type` attributes are specified, then they will all -be built, but if one or more `--crate-type` command line flag is specified, +be built, but if one or more `--crate-type` command line flags are specified, then only those outputs will be built. With all these different kinds of outputs, if crate A depends on crate B, then |
