-
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] wasi:http + WasiHttpHandler #103752
Conversation
Tagging subscribers to 'arch-wasm': @lewing |
b95ccf8
to
1f8d2a4
Compare
src/libraries/System.Private.CoreLib/src/System/Threading/Thread.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/Threading/WASI/WasiEventLoop.cs
Outdated
Show resolved
Hide resolved
src/mono/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.WASI.xml
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
src/mono/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.WASI.xml
Outdated
Show resolved
Hide resolved
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.
LGTM, one nit that can be addressed in a future PR :)
@@ -455,6 +455,22 @@ | |||
Link="Common\System\Net\Http\HttpHandlerDefaults.cs" /> | |||
</ItemGroup> | |||
|
|||
<ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'wasi'"> | |||
<Reference Include="System.Threading.Thread" /> |
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.
nit: please move this to the ItemGroup below which has all the Reference
items
Stealing code and ideas from dotnet/runtimelab#2614
System.Threading.WasiEventLoop
made accessible viaThread
classWasiHttpHandler
and generatedWasiHttpWorld.wit.imports
credits to @dicej & @SingleAccretion
Contributes to #96419
Contributes to #98957
Parts are moved to