3 ms·
How do people prefer to compile rust programs offline.
by 1vuio0pswjnm7 3y ago
How do people prefer to compile rust programs offline.
- miloignis 3y agoIn what way? Rust (cargo technically) might have the best support for offline compilation of any language I use. `cargo vendor` does pretty much everything I want it to.
- lesuorac 3y agoAlso you can download documentation for offline using `cargo doc` so you can easily lookup stuff during a flight. Although you do need to figure out all your dependencies ahead of time so that you download their documentation before you leave.
- herbstein 3y agoJust FYI, `cargo doc` doesn't download the documentation. It re-generates the documentation from source. You only need the source code to generate documentation.