gigantos · @gigantos
17 followers · 479 posts · Server social.linux.pizza

The issue with macros running code at compile-time, and being able to access the world is a valid one.

However, running it all in a sandbox only moves the target a little. A macro can still easily insert a bunch of malicious code in the compiled code that nobody would notice. Then, when you for example call deserialize(), it could go online and do nasty shit.

#rust #wasm #nomagicbullet

Last updated 1 year ago

AutisticMumTo3 She/her · @AutisticMumTo3
122 followers · 2461 posts · Server mastodon.uk.com