extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Add Native AOT test projects for M.E.AI

Open stephentoub opened this issue 1 year ago • 1 comments

Work has been done to make the M.E.AI libraries safe for use in Native AOT applications, but we need a) a test project that roots everything and builds error free, and b) a test suite that runs a reasonable subset of tests in a Native AOT app.

cc: @eiriktsarpalis, @SteveSandersonMS

stephentoub avatar Oct 25 '24 01:10 stephentoub

https://github.com/dotnet/extensions/pull/5573 implemented (a), but it needs to be hooked up to CI to actually dotnet publish.

stephentoub avatar Oct 26 '24 02:10 stephentoub

The test project is now being published in CI.

Work remaining is to actually run some tests under Native AOT.

stephentoub avatar Nov 20 '24 19:11 stephentoub

This has been effectively addressed by #6241. Even though tests are not running in AOT, disabling STJ reflection altogether in the test process is a reasonable proxy for AOT compatibility, given that we've enabled the AOT analyzer.

eiriktsarpalis avatar May 09 '25 16:05 eiriktsarpalis