3 ms·
Is there some way to implement this so that the resulting code is still valid Rust code that can be compiled using vanilla Rust tools?
by lifeinthevoid 2y ago
Is there some way to implement this so that the resulting code is still valid Rust code that can be compiled using vanilla Rust tools?
- IshKebab 2y agoIt is valid Rust... but only because it wraps everything in a proc macro. Creusot does it in a different way using attributes, which IMO is a better approach because it means normal tooling works, though it does have much worse syntax.