![]() ![]() Now that we understand how our computers execute our Rust program, we actually understand how Homebrew works, too! Just like cargo build & cargo run creates a binary, stores it in a predictable location, and executes it, Homebrew creates executables and installs them into a predictable location for your computer to execute later. In short: to run my Rust program, Cargo translated my source code into an executable file stored at a predictable location and then later handed that executable to my computer’s processor to run. cargo run: This tells Cargo to grab the newly-created binary file and have my computer’s processor execute its instructions, one line at a time.The executable file, or binary, is then placed in my target/ directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |