Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kibwen
on April 15, 2022
|
parent
|
context
|
favorite
| on:
Rustaceans at the border
Building Rust code, and even using Cargo, doesn't require an internet connection.
jvanderbot
on April 15, 2022
[–]
ah, 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.
KptMarchewa
on April 15, 2022
|
parent
|
next
[–]
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html
miloignis
on April 15, 2022
|
parent
|
prev
|
next
[–]
It 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).
estebank
on April 15, 2022
|
parent
|
prev
|
next
[–]
https://doc.rust-lang.org/cargo/faq.html#how-can-cargo-work-...
jvanderbot
on April 15, 2022
|
parent
|
prev
[–]
OK, 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!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: