File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3946,7 +3946,7 @@ found in the [ffi section of the book][ffi].
3946
3946
3947
3947
In one session of compilation, the compiler can generate multiple artifacts
3948
3948
through the usage of either command line flags or the ` crate_type ` attribute.
3949
- If one or more command line flag is specified, all ` crate_type ` attributes will
3949
+ If one or more command line flags are specified, all ` crate_type ` attributes will
3950
3950
be ignored in favor of only building the artifacts specified by command line.
3951
3951
3952
3952
* ` --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
3992
3992
specified, then the compiler will produce each form of output at once without
3993
3993
having to recompile. However, this only applies for outputs specified by the
3994
3994
same method. If only ` crate_type ` attributes are specified, then they will all
3995
- be built, but if one or more ` --crate-type ` command line flag is specified,
3995
+ be built, but if one or more ` --crate-type ` command line flags are specified,
3996
3996
then only those outputs will be built.
3997
3997
3998
3998
With all these different kinds of outputs, if crate A depends on crate B, then
You can’t perform that action at this time.
0 commit comments