News for hackers. Stuff that matters.
Re:Arbitrary code execution during compilation – rust by eleijonmarck on Saturday March 18, 2023 @06:25PM (#35213751)
I filed a issue on `rust-analyzer` and apparently it is by design - https://github.com/rust-lang/rust-analyzer/issues/14375
Re:Arbitrary code execution during compilation – rust by landr0id on Saturday March 18, 2023 @06:35PM (#35213855)
I mean it’s fairly obvious. You can do this through build.rs files as well.

There was talk about trying to compile proc macros to WASM and run them sandboxed in the compiler. Not sure what happened to that RFC (by dtolnay?)

Re:Arbitrary code execution during compilation – rust by the_mitsuhiko on Saturday March 18, 2023 @07:00PM (#35214061)