Closures should accept & for arguments #1399
Labels
closures
Adding more support for closures on the boundary
help wanted
We could use some help fixing this issue!
more-types
Adding support for more Rust types to cross the boundary
Motivation
If a Closure accepts
&
by argument it can use the faster stack-allocation rather than the slower heap-allocation.Basically, this should be possible:
Additional Context
rustwasm/gloo#30 (comment)
The text was updated successfully, but these errors were encountered: