wit-bindgen
wit-bindgen copied to clipboard
Fix the mono runtime test config
Update the build to get things working with the latest mono net9 targets
@lewing https://github.com/dotnet/runtime/pull/103881 fixed the conflicting naming error, but now when running wit-bindgen with this PR changes I see this failure
Because of this I couldn't validate if the fix is enough.
test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 965.25s
need to look at the performance here but csharp-mono tests are green with these changes
@dicej with this version I'm seeing errors like
---- variants::run stdout ----
Error: failed to read component type file: VariantsWorld_component_type.o
Caused by:
The system cannot find the file specified. (os error 2)
any thoughts?
@dicej with this version I'm seeing errors like
---- variants::run stdout ---- Error: failed to read component type file: VariantsWorld_component_type.o Caused by: The system cannot find the file specified. (os error 2)any thoughts?
haha, I see the problem now. That is what I get for not looking again in the morning before.
@dicej with this version I'm seeing errors like
---- variants::run stdout ---- Error: failed to read component type file: VariantsWorld_component_type.o Caused by: The system cannot find the file specified. (os error 2)any thoughts?
As of https://github.com/dotnet/runtime/pull/103752, the *_component_type.o files have been replaced with *_component_type.wit files. Perhaps you're using an older runtime?
@dicej with this version I'm seeing errors like
---- variants::run stdout ---- Error: failed to read component type file: VariantsWorld_component_type.o Caused by: The system cannot find the file specified. (os error 2)any thoughts?
As of dotnet/runtime#103752, the
*_component_type.ofiles have been replaced with*_component_type.witfiles. Perhaps you're using an older runtime?
Sadly I was rushing to get it working last night before heading out, I should have looked again this morning. Sorry for the noise.
Ok, so it was also very confusing that the features were chained so the native aot test build was writing over the mono tests once the compilation issue was fixed.
the 'NuGet-Migrations failure is not related to these changes .
There do now appear to be a couple of failures on the mono side https://github.com/dotnet/runtime/issues/107212
Several of the issues I hit should be fixed in dotnet/runtime main, but it testing that will be challenging until a proper net10 sdk is produced.