Skip to content

[NativeAOT-LLVM] Enhance unresolved symbol handling #3118

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

Conversation

SingleAccretion
Copy link

@SingleAccretion SingleAccretion commented Jun 17, 2025

Stop silently ignoring all unresolved symbols on WASI, warn instead, consistent with Emscripten. Also, respect TreatWarningsAsErrors.

@jkotas jkotas added the area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly) label Jun 17, 2025
@SingleAccretion SingleAccretion force-pushed the Missing-Symbols-Enable-Errors branch from 7c75cdf to 5cf9157 Compare June 19, 2025 15:04
@SingleAccretion SingleAccretion marked this pull request as ready for review June 19, 2025 16:51

if ($env:EMSDK_PYTHON)
{
# Workaround for https://github.com/dotnet/runtime/issues/116746
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I don't actually know if this actually works, but it seems to have helped. The idea here was that the CI build is picking up system python instead of the emsdk bundled python, and that has some issues.)

@SingleAccretion
Copy link
Author

@dotnet/nativeaot-llvm

Copy link
Contributor

@yowl yowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jkotas jkotas merged commit a1a1ae7 into dotnet:feature/NativeAOT-LLVM Jun 24, 2025
15 checks passed
@SingleAccretion SingleAccretion deleted the Missing-Symbols-Enable-Errors branch June 25, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants