Merge pull request #221 from spastorino/executables

Executables are binary executable files
This commit is contained in:
Carol (Nichols || Goulding)
2016-08-24 09:31:48 -04:00
committed by GitHub
+4 -4
View File
@@ -223,10 +223,10 @@ $ cd hello_cargo
``` ```
We passed the `--bin` argument to `cargo new` because our goal is to make an We passed the `--bin` argument to `cargo new` because our goal is to make an
executable application, as opposed to a library. Executables are often called executable application, as opposed to a library. Executables are binary
*binaries* (as in `/usr/bin`, if you’re on a Unix system). We've given executable files often called just *binaries*. We've given `hello_cargo`
`hello_cargo` as the name for our project, and Cargo creates its files in a as the name for our project, and Cargo creates its files in a directory
directory of the same name that we can then go into. of the same name that we can then go into.
If we list the files in the `hello_cargo` directory, we can see that Cargo has If we list the files in the `hello_cargo` directory, we can see that Cargo has
generated two files and one directory for us: a `Cargo.toml` and a `src` generated two files and one directory for us: a `Cargo.toml` and a `src`