~/talk

"What Happens When You Run Cargo Build?"

Talkat RustConf 2024 · 2024-09-10..09-13· [compilers-and-language-design, rust]
slides:none on file

Explains that the program run as Cargo is actually rustup proxying via hard links, so rustup inspects rust-toolchain.toml, downloads the exact Cargo/rustc toolchain if missing, and invokes it. Shows a zero-deps cargo new build creating target/debug, passing edition = "2021", acquiring a filesystem lock, generating a build plan, compiling dependencies in parallel, allowing multiple versions when needed, and creating Cargo.lock on first run.

AI-written summary · about

  1. 0:00Cargo introduction
  2. 1:18What cargo build does
  3. 2:49rustup and Cargo versions
  4. 4:52Zero-dependency build
  5. 6:10Build plan generation
  6. 7:42Cargo project structure
  7. 8:34Build with dependencies
  8. 9:07Dependency graph resolution
  9. 10:11Multiple dependency versions
  10. 13:04Dependency versioning issues
  11. 13:38Complete cargo build workflow
  12. 20:17Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.