3 ms·
Building Rust code, and even using Cargo, doesn't require an internet connection.
by kibwen 5y ago
Building Rust code, and even using Cargo, doesn't require an internet connection.
- jvanderbot 5y agoah, yes it does? 'cargo build' absolutely goes and finds dependencies, updates them, and so on. 'rustc' does not, but we are talking about cargo here.
- miloignis 5y agoIt doesn't have to, you can "cargo vendor" all your deps (I do so for some of the things I work on, regularly building and developing without an internet connection).
- KptMarchewa 5y agohttps://doc.rust-lang.org/cargo/commands/cargo-vendor.html https://doc.rust-lang.org/cargo/commands/cargo-vendor.html
- estebank 5y agohttps://doc.rust-lang.org/cargo/faq.html#how-can-cargo-work-offline https://doc.rust-lang.org/cargo/faq.html#how-can-cargo-work-...
- deleted 5y ago[deleted]
- jvanderbot 5y agoOK, I have been sufficiently reminded of a mostly-offline build process and punished for my flippant remark which I can no longer edit or delete. Thank you!