Uh oh!
There was an error while loading. Please reload this page.
[iOS][non-icu] HybridGlobalization clean up the code - #96974
Conversation
ghost
commented
Jan 15, 2024
Tagging subscribers to this area: @dotnet/area-system-globalization Issue DetailsFixes #96328
|
mkhamoyan
commented
Jan 15, 2024
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
|
Azure Pipelines successfully started running 3 pipeline(s). |
mkhamoyan
commented
Jan 15, 2024
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
|
Azure Pipelines successfully started running 3 pipeline(s). |
mkhamoyan
commented
Jan 15, 2024
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
|
Azure Pipelines successfully started running 3 pipeline(s). |
mkhamoyan
commented
Jan 16, 2024
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
|
Azure Pipelines successfully started running 3 pipeline(s). |
mkhamoyan
commented
Jan 16, 2024
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
|
Azure Pipelines successfully started running 3 pipeline(s). |
mkhamoyan
commented
Jan 16, 2024
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
|
Azure Pipelines successfully started running 3 pipeline(s). |
akoeplinger
left a comment
There was a problem hiding this comment.
LGTM apart from the pal_config.h issue
| endif() | ||
| configure_file( | ||
| ${CLR_SRC_NATIVE_DIR}/libs/Common/pal_config.h.in | ||
| ${CMAKE_CURRENT_BINARY_DIR}/pal_config.h) |
There was a problem hiding this comment.
we shouldn't mix our configs with pal_config.h.in, if you need any of the HAVE_* defines then you need to include them in src/mono/cmake/configure.cmake
There was a problem hiding this comment.
I want to use assert_msg from https://github.com/mkhamoyan/runtime/blob/main/src/native/libs/Common/pal_utilities.h#L27 in pal_placeholders.c (instead of defining them again here https://github.com/mkhamoyan/runtime/blob/main/src/native/libs/System.Globalization.Native/pal_placeholders.c#L18-L38) . But when including "pal_utilities.h" header in pal_placeholders.c, it complains that can't find pal_config.h.
There was a problem hiding this comment.
You can either move it to a new header file in src/native/minipal since that one is supposed to be shared between runtimes.
Or given our future direction of wanting to stop compiling globalization in mono runtime itself maybe it's better to just copy the assert_msg definition into mono since it will get removed later anyway.
There was a problem hiding this comment.
Thanks, kept initial way of copying assert_msg definition into mono.
mkhamoyan
commented
Jan 18, 2024
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
|
Azure Pipelines successfully started running 3 pipeline(s). |
mkhamoyan
commented
Jan 18, 2024
Failures are not related. |
Fixes#96328
Contributes to #80689