4 ms·
At least Linux, OpenBSD, and (with more annoyance) Windows make it relatively straightforward to run things like build.rs in a sandbox. I wonder why Cargo doesn
by amluto 3y ago
At least Linux, OpenBSD, and (with more annoyance) Windows make it relatively straightforward to run things like build.rs in a sandbox. I wonder why Cargo doesn’t do this.
There was also a project (that dtolnay was involved in, I believe!) a few years ago to compile proc macros to wasm.
- mmastrac 3y agoEDIT: I'm wrong, it's not watt -- just shared the same package name.
- amluto 3y agoThis looks like a better link: https://github.com/dtolnay/watt https://github.com/dtolnay/watt This would be a lot more compelling if it were integrated into rustc and cargo.
- mmastrac 3y agoI suspect this move is partly to light a fire and force the Rust project to work on this sooner rather than later. We've needed this for years.