-
Notifications
You must be signed in to change notification settings - Fork 204
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
Question: NativeAOT-LLVM: Native lib - what sets tls_CurrentThread #2347
Comments
The main initialization should happen as part of the RPI that initiated the call into managed call, see |
I wonder if something is not initializing property in wasi as I'm getting odd errors there
I will investigate some more. |
Perhaps the runtime initialization callback ( |
Yes, there's a bit of history with wasm components : |
Closing as I have a bit better understanding now. |
If we are building a shared nativelib as per the documentation at https://github.com/dotnet/runtimelab/blob/feature/NativeAOT-LLVM/docs/using-nativeaot/compiling.md, when
new
is called we make a call toRhpGcAlloc
which usestls_CurrentThread
but what should initialize that?The text was updated successfully, but these errors were encountered: