-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Mono WASM PInvoke Table generation does not handle backticks #99241
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsDescriptionMicrosoft.CognitiveServices.Speech puts the following line into the pinvoke-table.h: void wasm_native_to_interp_Microsoft_CognitiveServices_Speech_csharp_InteropEvent`1_FromNativeCallback (int arg0,int arg1,int arg2) { The backtick (`) after InteropEvent is not recognized by the C compiler. I found the following recent resolved bug in which a character needed to be escaped, it sounds like more escaping just needs to be done: #93999 Reproduction StepsBuild a WASM project that includes Microsoft.CognitiveServices.Speech 1.35.0 as a dependency. Expected behaviorSuccessful build Actual behavior
Regression?No response Known WorkaroundsNo response Configuration.NET 8.0 Other informationNo response
|
This issue has been marked |
Calling this closed, please reopen if you can reproduce the problem with recent nightly builds or preview4 when it is released |
Description
Microsoft.CognitiveServices.Speech puts the following line into the pinvoke-table.h:
void wasm_native_to_interp_Microsoft_CognitiveServices_Speech_csharp_InteropEvent`1_FromNativeCallback (int arg0,int arg1,int arg2) {
The backtick (`) after InteropEvent is not recognized by the C compiler.
I found the following recent resolved bug in which a character needed to be escaped, it sounds like more escaping just needs to be done: #93999
Reproduction Steps
Build a WASM project that includes Microsoft.CognitiveServices.Speech 1.35.0 as a dependency.
Expected behavior
Successful build
Actual behavior
Regression?
No response
Known Workarounds
No response
Configuration
.NET 8.0
Windows 11 x64
Avalonia WASM
Other information
No response
The text was updated successfully, but these errors were encountered: