Re:Rustaceans at the border
by kibwen on Friday April 15, 2022 @08:03AM
(#31039199)
Building Rust code, and even using Cargo, doesn't require an internet connection.
[ Parent
| on HN ]
Re:Rustaceans at the border
by jvanderbot on Friday April 15, 2022 @09:57AM
(#31040300)
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.
Re:Rustaceans at the border
by KptMarchewa on Friday April 15, 2022 @11:12AM
(#31041117)
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).
Re:Rustaceans at the border
by jvanderbot on Friday April 15, 2022 @04:10PM
(#31045192)
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!