Alex Yakunin
Alex Yakunin
Closing this.
Hi, yes, there was no IL trimming markup. I've just added one: https://github.com/servicetitan/Stl.Fusion/commit/12e586d8636a9c0d337f75c02a32a1ecd2626f3f The downside is: prob. it still won't work, coz interceptor types aren't referenced. One solution would be...
Honestly, I don't understand why they even came up with NativeAOT: - Static analysis isn't good enough to resolve even simple things - e.g. you pass `ICommand` & want to...
I kinda angry about this b/c they invest so much into this crap vs focusing on what really matters - i.e. profile-based AOT. All this shit with `[DynamicallyAccessedMembers]` no one...
And it would be way more useful if, instead of focusing on what to trim, they'd focus on how to split the code into 3 "pieces": - Absolutely necessary (comes...
> Nice, will check it. `[DynamicDependency(...All, type(...))]` actually does the same, I removed the method :)
> Just to confirm for future enhancements: All-of Stl should be trimming-friendly, not just parts of it. Speaking of which, I just added `[DynamicDependency]` to every builder indicating what should...
As for NativeAOT, the main issue is that Reflection and IL emit is broken there. So all they need is to add an interpreter to handle this - it's kinda...
@AliveDevil closing this, + just want to let you know that the most up-to-date version of Fusion is here: https://github.com/ActualLab/Fusion , and it's much more trim-compatible.
Hi, I'll definitely have a look & merge this in a few days. Want to finish with Rpc first.