The Rust compiler backend for .NET now supports closures!

275 points FractalFir

A bit of a progress update on my rustc backend targeting .NET:
It can now properly compile all closures (capturing, non-capturing, any other).
This is a step towards getting things like writing to stdout (since it is initialized using an OnceLock), and formatting strings working in Rust code compiled for .NET.