From 75b0d9e4e13dce113cb03d520e9025c1c68cd8a5 Mon Sep 17 00:00:00 2001
From: Steve Klabnik
Cargo has generated a "Hello World!" for you, just like the one we wrote earlier! So that part is the same. The differences between our previous project and the project generated by Cargo that we've seen so far are:
-src directoryCargo.toml configuration fileCargo expects your source files to live inside the src directory so that the
top-level project directory is just for READMEs, license information,
configuration files, and anything else not related to your code. In this way,
@@ -322,12 +322,12 @@ this:
So a few more differences we've now seen:
-rustc, build a project using cargo build (or build and
run it in one step with cargo run)target/debug directory.The other advantage of using Cargo is that the commands are the same no matter what operating system you're on, so at this point we will no longer be providing specific instructions for Linux and Mac versus Windows.
diff --git a/print.html b/print.html index 644fa2fd1..be2b91132 100644 --- a/print.html +++ b/print.html @@ -351,10 +351,10 @@ the next chapter.Cargo has generated a "Hello World!" for you, just like the one we wrote earlier! So that part is the same. The differences between our previous project and the project generated by Cargo that we've seen so far are:
-src directoryCargo.toml configuration fileCargo expects your source files to live inside the src directory so that the
top-level project directory is just for READMEs, license information,
configuration files, and anything else not related to your code. In this way,
@@ -405,12 +405,12 @@ this:
So a few more differences we've now seen:
-rustc, build a project using cargo build (or build and
run it in one step with cargo run)target/debug directory.The other advantage of using Cargo is that the commands are the same no matter what operating system you're on, so at this point we will no longer be providing specific instructions for Linux and Mac versus Windows.