News for hackers. Stuff that matters.
Re:sudo and su Being Rewritten in Rust for Memory Safety by hulitu on Saturday April 29, 2023 @02:02PM (#35755414)
> I mean, the same is true with the C runtime.

My c compiler does not connect to internet during compiling.

Re:sudo and su Being Rewritten in Rust for Memory Safety by overthrow on Saturday April 29, 2023 @02:31PM (#35755695)
Nor does the Rust compiler.

Rust's build system, Cargo, does however. And many C build systems do as well, e.g. https://cmake.org/cmake/help/latest/guide/using-dependencies...

Re:sudo and su Being Rewritten in Rust for Memory Safety by steveklabnik on Saturday April 29, 2023 @03:05PM (#35756025)
Optionally. Cargo doesn’t have to connect to the internet, and even has command line switches to fail if it tries to.
Re:sudo and su Being Rewritten in Rust for Memory Safety by hulitu on Saturday April 29, 2023 @04:39PM (#35756927)
Good to know.
Re:sudo and su Being Rewritten in Rust for Memory Safety by hulitu on Saturday April 29, 2023 @04:39PM (#35756924)
Thank you for the tip. I shall do

ifconfig eth0 down

before compiling to avoid such issues.

Re:sudo and su Being Rewritten in Rust for Memory Safety by some_furry on Saturday April 29, 2023 @02:07PM (#35755463)
What do you do if a dependent .so isn't found?

Do you not have to install said dependency from the Internet and start (at least part of) the compile over?