| ▲ | kibwen an hour ago | |
The vast and overwhelming majority of build scripts are building C code, so the other solution is to move away from integrating with C dependencies to native Rust dependencies, in which case adding friction to build scripts would be less noticeable. | ||
| ▲ | robhlt 4 minutes ago | parent | next [-] | |
Just denying write access outside the build directory and denying network access would go a long way and won't break pretty much any well-behaved build systems. Any C library that's also packaged by debian supports being built under these conditions because it's required for everything except non-free packages: https://www.debian.org/doc/debian-policy/ch-source.html#main... | ||
| ▲ | thayne 41 minutes ago | parent | prev [-] | |
One of rust's strengths is it's ability to interface relatively easily with existing c code without having to rewrite absolutely everything in rust. I don't think that is something we want to give up. | ||