-
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
Wasi icu loading #82444
Wasi icu loading #82444
Conversation
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.
Please add src\libraries\System.Globalization\tests\System.Globalization.Tests.csproj
to src\libraries\tests.proj
wasi SmokeTestProject
section.
src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props
Outdated
Show resolved
Hide resolved
src/mono/wasi/runtime/driver.c
Outdated
unsigned char *buffer; | ||
long filelen; | ||
char filename[256]; | ||
sprintf(filename, "%s/%s", ".", "icudt.dat"); |
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.
this is constant string, you don't have to concatenate it here.
char filename[256]; | ||
sprintf(filename, "./icudt.dat"); | ||
|
||
fileptr = fopen(filename, "rb"); |
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.
fopen("./icudt.dat", "rb");
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.
filename is also used in lines 342 and 352.
Failures are not related. |
Fixes #81908