5 ms·
I write rust for no_std embedded devices and I just use stack_dst for this :) Of course you‘re right if you can‘t alloc, you can‘t use Box or similar stuff. A
by selfmodruntime 1y ago
I write rust for no_std embedded devices and I just use stack_dst for this :)
Of course you‘re right if you can‘t alloc, you can‘t use Box or similar stuff.
Also you can avoid a lot of performance hits if you just implement most stuff on the dyn Trait directly!