4 ms·
I would say precompiled proc macros via wasm narrows that hole - since it can't access any outside source, it becomes deterministic and greatly simplifies testi
by swsieber 7y ago
I would say precompiled proc macros via wasm narrows that hole - since it can't access any outside source, it becomes deterministic and greatly simplifies testing it for malicous output.
- steveklabnik 7y agoYes, this particular implementation does. That doesn’t mean the final one will follow suit. This could be considered breaking backwards compatibility, for example.
- swsieber 7y agoTrue. I'd hope future implementations are very explicit about what operations are allowable (for example, globs for files in allowed inputs/outputs), such that you still have an easier time testing.