-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[wasm] pinvoke improvements part 2 #98250
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsExpands WBT test coverage and makes the following improvements:
|
cc @vargaz there is some debugging code in here now, the problem i'm digging into is that System.Runtime.Tests fails in AOT mode. Failure log trimmed:
|
if (underlyingType != t) | ||
c = TypeToChar(underlyingType, log, out _, ++depth); | ||
else { | ||
log.Warning("WASM0064", $"Unsupported parameter type '{t.Name}'"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When can this happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know of any realistic scenario where unbounded recursion can occur in TypeToChar, but it broke the wasm perf measurements so I am doing everything I can to fix it. I can't repro it locally.
The runtime changes look ok to me. |
Expands WBT test coverage and makes the following improvements: