Y
Hacker News
new
|
ask
|
show
|
jobs
by
insanitybit
955 days ago
That'll be great for proc-macros, although it won't work for build scripts.
1 comments
adastra22
955 days ago
Why not?
link
insanitybit
955 days ago
It could, in theory. But build scripts can do arbitrary things so the wasm sandbox would need to allow for that.
link
adastra22
954 days ago
I think the whole point is to prevent build scripts from doing arbitrary things. The sandbox should give access to the source code being built, record changes to these files (and/or new files generated in the same directories), and that's about it.
link
insanitybit
954 days ago
That's a cool idea but it would be a major breaking change. For proc-macros it's
less
of a major breaking change, though it is absolutely still one.
link