-
Notifications
You must be signed in to change notification settings - Fork 273
Allow running on wasm platform #5366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We were following the same as runtime when annotating the API: (On our side, we are missing |
@jjonescz Can you please try with |
Next up is banner:
But I can work around that by passing Next up is SHA256:
That's tracked by dotnet/runtime#99126. I don't think it makes sense to add a workaround for this in testfx. So feel free to close this issue. Thanks! |
That won't be sufficient as For SHA256, this code path is for telemetry, which we can completely skip automatically when we know the API is not supported. Or you can also opt-out by setting I'm also not sure what differences are between wasi and browser. In BrowserOutputDevice we simply try to call @lewing Is wasi expected to still be experimental when .NET 10 is GA? |
Yes, that's mentioned in dotnet/runtime#99126 (comment) - there are no annotations yet since wasi-wasm is experimental.
Thanks, fwiw, after that I get to this point:
As you say, that's probably because threading is not supported. |
Hmm, I'm interpreting the last one for |
Describe the bug
When I run MTP on wasi-wasm runtime, it fails.
Steps To Reproduce
Create wasi-wasm app with .NET 10 Preview 2
Install wasi workload
dotnet workload install wasi-experimental
Build it
Run it
Expected behavior
Runs.
Actual behavior
Additional context
This particular error would likely go away if WASM was added to this exclusion list:
testfx/src/Platform/Microsoft.Testing.Platform/Services/CTRLPlusCCancellationTokenSource.cs
Lines 24 to 32 in 3564400
Then more places might need fixing similarly. I'm not sure if there is anything else blocking wasm support, would need to get past the first error and see what happens next.
Similar issue: #2196
The text was updated successfully, but these errors were encountered: