-
Notifications
You must be signed in to change notification settings - Fork 98
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
Test unary operators that don't typecheck #473
Conversation
7675893
to
60e41f9
Compare
test/fail/ok/bad-unops.tc.ok
Outdated
Int | ||
bad-unops.as:2.9-2.12: type error, operator is not defined for operand type | ||
Int | ||
bad-unops.as:3.15-3.17: type error, expression of type |
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.
Of course, this error is not very convincing...
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.
That is intentional, though. Nat doesn't have any notion of sign.
test/fail/ok/bad-unops.tc.ok
Outdated
bad-unops.as:6.28-6.30: type error, operator cannot consume expected type | ||
Nat | ||
bad-unops.as:6.9-6.55: warning, the cases in this switch do not cover all possible values | ||
bad-unops.as:7.28-7.30: type error, operator cannot consume expected type |
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.
dito
test/fail/ok/bad-unops.tc.ok
Outdated
Int | ||
bad-unops.as:2.9-2.12: type error, operator is not defined for operand type | ||
Int | ||
bad-unops.as:3.15-3.17: type error, expression of type |
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.
That is intentional, though. Nat doesn't have any notion of sign.
@rossberg While I am behind the second phrase in
I am not sure I agree with the first. Here we don't talk about signs, but operators:
If |
If you prefer, it's a sign modification operator. In patterns I'd view it as strictly a sign.
Technically, not for Nats, because you don't get back a Nat. |
@rossberg but that's only due to a type-system hack (in (* Special case for subtyping *)
let t = if t1 = T.Prim T.Nat then T.Prim T.Int else t1 in which changes |
It's not a type system hack but an implementation hack in the implementation of subsumption vs overloading. The declarative rule is very simple:
where It would become a type system hack if the rule was specialised to a specific operator. |
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.
I see there is some discussion, but the diff is just a test case documenting the status quo (good), and some exception catching that makes the coverage checker not trip over if run on non-well-typed code, so I think we can merge this and work on the related issues elsewhere.
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.
I don't quite agree, see comment.
innermost sign operators are now part of the literal, see #505
18f1d1e
to
72d019f
Compare
and give meaningful messages
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.
Place the goods on the right case.
@@ -0,0 +1,24 @@ | |||
bad-unops.as:1.9-1.11: type error, operator is not defined for operand type |
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.
Not sure where the Int
is coming from, at least the parser isn't it:
$ src/asc -dp
ActorScript 0.1 interpreter
> let a = ^3;
(BlockE (LetD (VarP a) (UnE ??? NotOp (LitE (PreLit 3 Nat)))))
stdin:1.9-1.11: type error, operator is not defined for operand type
Int
test/fail/bad-unops.as
Outdated
|
||
switch (1) { case (^1) "hmmm"; case _ "good" }; | ||
switch (1) { case (+1) "good"; case _ "hmmm" }; | ||
switch (1) { case (-1) "hmmm"; case _ "good" }; |
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: I find the strings slightly confusing, especially when it says "good" for a negative case. Also, you probably should return (), or wrap the thing into an ignore like below, to rule out unrelated errors.
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.
I have confused myself too, so you are not alone. The rule of thumb is that when testing the switch
expression in the REPL, I either expect "good"
or a type error (as stated in the .ok
file). Since ()
-related type errors come out differently, we'll notice soon enough. I'll add a comment.
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.
Since ()-related type errors come out differently, we'll notice soon enough.
But that doesn't help the reader, because they'd have to look at a different file to figure out which one is intended. For clarity and hygiene, negative cases should only contain the errors that they are meant to test.
## Changelog for motoko-base: Branch: next-moc Commits: [dfinity/motoko-base@40e2d36e...551acc9a](dfinity/motoko-base@40e2d36...551acc9) * [`3a8d1f44`](dfinity/motoko-base@3a8d1f4) test: List module ([dfinity/motoko-base#457](https://togithub.com/dfinity/motoko-base/issues/457)) * [`d74cc136`](dfinity/motoko-base@d74cc13) Int documentation and unit tests ([dfinity/motoko-base#473](https://togithub.com/dfinity/motoko-base/issues/473)) * [`7171ebe3`](dfinity/motoko-base@7171ebe) Fix typo in Int.neg() function name ([dfinity/motoko-base#479](https://togithub.com/dfinity/motoko-base/issues/479)) * [`85e17dcb`](dfinity/motoko-base@85e17dc) Motoko 0.7.5 * [`489a7595`](dfinity/motoko-base@489a759) Add `Array.size()` * [`15ec733a`](dfinity/motoko-base@15ec733) Fix `Array.size` example * [`bafaab29`](dfinity/motoko-base@bafaab2) Remove extraneous closing brace * [`bc011ec3`](dfinity/motoko-base@bc011ec) Add missing semicolon * [`8e2057d1`](dfinity/motoko-base@8e2057d) fix: import in `Trie.mo` * [`f884484b`](dfinity/motoko-base@f884484) Add 'mo:base' import sanity check * [`70f291d7`](dfinity/motoko-base@70f291d) Add link to PR in reference check file * [`e35fde03`](dfinity/motoko-base@e35fde0) feat: user-facing API for timers ([dfinity/motoko-base#474](https://togithub.com/dfinity/motoko-base/issues/474)) * [`cf74656f`](dfinity/motoko-base@cf74656) doc: Text module ([dfinity/motoko-base#458](https://togithub.com/dfinity/motoko-base/issues/458)) * [`b1d30ec1`](dfinity/motoko-base@b1d30ec) chore: add examples for CertifiedData ([dfinity/motoko-base#469](https://togithub.com/dfinity/motoko-base/issues/469)) * [`a3233a47`](dfinity/motoko-base@a3233a4) doc: ExperimentalStableMemory module ([dfinity/motoko-base#482](https://togithub.com/dfinity/motoko-base/issues/482)) * [`e52bc256`](dfinity/motoko-base@e52bc25) Small typo in CertifiedData ([dfinity/motoko-base#490](https://togithub.com/dfinity/motoko-base/issues/490)) * [`3729c65c`](dfinity/motoko-base@3729c65) Float documentation and unit tests ([dfinity/motoko-base#455](https://togithub.com/dfinity/motoko-base/issues/455)) * [`1fa5240f`](dfinity/motoko-base@1fa5240) Deque documentation and unit tests ([dfinity/motoko-base#465](https://togithub.com/dfinity/motoko-base/issues/465)) * [`a6826315`](dfinity/motoko-base@a682631) RBTree documentation and unit tests ([dfinity/motoko-base#472](https://togithub.com/dfinity/motoko-base/issues/472)) * [`edb24def`](dfinity/motoko-base@edb24de) ExperimentalCycles documentation (no unit tests) ([dfinity/motoko-base#477](https://togithub.com/dfinity/motoko-base/issues/477)) * [`eded1b73`](dfinity/motoko-base@eded1b7) doc: Text module ([dfinity/motoko-base#458](https://togithub.com/dfinity/motoko-base/issues/458)) * [`41736374`](dfinity/motoko-base@4173637) chore: add examples for CertifiedData ([dfinity/motoko-base#469](https://togithub.com/dfinity/motoko-base/issues/469)) * [`f4255ddb`](dfinity/motoko-base@f4255dd) doc: ExperimentalStableMemory module ([dfinity/motoko-base#482](https://togithub.com/dfinity/motoko-base/issues/482)) * [`d99cd69d`](dfinity/motoko-base@d99cd69) Small typo in CertifiedData ([dfinity/motoko-base#490](https://togithub.com/dfinity/motoko-base/issues/490)) * [`859edc14`](dfinity/motoko-base@859edc1) Float documentation and unit tests ([dfinity/motoko-base#455](https://togithub.com/dfinity/motoko-base/issues/455)) * [`384ef6ee`](dfinity/motoko-base@384ef6e) Deque documentation and unit tests ([dfinity/motoko-base#465](https://togithub.com/dfinity/motoko-base/issues/465)) * [`f0cf4da4`](dfinity/motoko-base@f0cf4da) RBTree documentation and unit tests ([dfinity/motoko-base#472](https://togithub.com/dfinity/motoko-base/issues/472)) * [`66a682af`](dfinity/motoko-base@66a682a) ExperimentalCycles documentation (no unit tests) ([dfinity/motoko-base#477](https://togithub.com/dfinity/motoko-base/issues/477)) * [`b4b6caca`](dfinity/motoko-base@b4b6cac) Add `Array.size` ([dfinity/motoko-base#494](https://togithub.com/dfinity/motoko-base/issues/494)) * [`a5910190`](dfinity/motoko-base@a591019) fix: non-local import in `Trie.mo` ([dfinity/motoko-base#495](https://togithub.com/dfinity/motoko-base/issues/495)) * [`823b0b40`](dfinity/motoko-base@823b0b4) Add `Array.size` ([dfinity/motoko-base#494](https://togithub.com/dfinity/motoko-base/issues/494)) * [`4e6a7554`](dfinity/motoko-base@4e6a755) fix: non-local import in `Trie.mo` ([dfinity/motoko-base#495](https://togithub.com/dfinity/motoko-base/issues/495)) * [`98c96a57`](dfinity/motoko-base@98c96a5) doc: add some explanation and improve examples in `Func.mo` ([dfinity/motoko-base#471](https://togithub.com/dfinity/motoko-base/issues/471)) * [`4f8d37b6`](dfinity/motoko-base@4f8d37b) Int8/16/32/64 documentation and unit tests ([dfinity/motoko-base#475](https://togithub.com/dfinity/motoko-base/issues/475)) * [`ef40d9d4`](dfinity/motoko-base@ef40d9d) fix: Base library issues with `Float` ([dfinity/motoko-base#480](https://togithub.com/dfinity/motoko-base/issues/480)) * [`842e2b95`](dfinity/motoko-base@842e2b9) Typo in Float documentation ([dfinity/motoko-base#498](https://togithub.com/dfinity/motoko-base/issues/498)) * [`443fcf86`](dfinity/motoko-base@443fcf8) doc: Random module ([dfinity/motoko-base#484](https://togithub.com/dfinity/motoko-base/issues/484)) * [`ed727604`](dfinity/motoko-base@ed72760) doc: add examples to trie ([dfinity/motoko-base#454](https://togithub.com/dfinity/motoko-base/issues/454)) * [`4b472cf9`](dfinity/motoko-base@4b472cf) fix `bitnot` for the `Nat*` family too ([dfinity/motoko-base#504](https://togithub.com/dfinity/motoko-base/issues/504)) * [`78af93bd`](dfinity/motoko-base@78af93b) feat: fix TrieSet.equals, add TrieSet.isEmpty, TrieSet.isSubset; add tests ([dfinity/motoko-base#503](https://togithub.com/dfinity/motoko-base/issues/503)) * [`22152e95`](dfinity/motoko-base@22152e9) bugfix: fix issue [dfinity/motoko-base#492](https://togithub.com/dfinity/motoko-base/issues/492) plus some testing of Random.mo ([dfinity/motoko-base#500](https://togithub.com/dfinity/motoko-base/issues/500)) * [`b2e6e584`](dfinity/motoko-base@b2e6e58) bugfix: fixes [dfinity/motoko-base#448](https://togithub.com/dfinity/motoko-base/issues/448) ([dfinity/motoko-base#505](https://togithub.com/dfinity/motoko-base/issues/505)) * [`f602517f`](dfinity/motoko-base@f602517) Add examples and update docs for Stack ([dfinity/motoko-base#470](https://togithub.com/dfinity/motoko-base/issues/470))
## Changelog for motoko-base: Branch: next-moc Commits: [dfinity/motoko-base@40e2d36e...551acc9a](dfinity/motoko-base@40e2d36...551acc9) * [`3a8d1f44`](dfinity/motoko-base@3a8d1f4) test: List module ([dfinity/motoko-base#457](https://togithub.com/dfinity/motoko-base/issues/457)) * [`d74cc136`](dfinity/motoko-base@d74cc13) Int documentation and unit tests ([dfinity/motoko-base#473](https://togithub.com/dfinity/motoko-base/issues/473)) * [`7171ebe3`](dfinity/motoko-base@7171ebe) Fix typo in Int.neg() function name ([dfinity/motoko-base#479](https://togithub.com/dfinity/motoko-base/issues/479)) * [`85e17dcb`](dfinity/motoko-base@85e17dc) Motoko 0.7.5 * [`489a7595`](dfinity/motoko-base@489a759) Add `Array.size()` * [`15ec733a`](dfinity/motoko-base@15ec733) Fix `Array.size` example * [`bafaab29`](dfinity/motoko-base@bafaab2) Remove extraneous closing brace * [`bc011ec3`](dfinity/motoko-base@bc011ec) Add missing semicolon * [`8e2057d1`](dfinity/motoko-base@8e2057d) fix: import in `Trie.mo` * [`f884484b`](dfinity/motoko-base@f884484) Add 'mo:base' import sanity check * [`70f291d7`](dfinity/motoko-base@70f291d) Add link to PR in reference check file * [`e35fde03`](dfinity/motoko-base@e35fde0) feat: user-facing API for timers ([dfinity/motoko-base#474](https://togithub.com/dfinity/motoko-base/issues/474)) * [`cf74656f`](dfinity/motoko-base@cf74656) doc: Text module ([dfinity/motoko-base#458](https://togithub.com/dfinity/motoko-base/issues/458)) * [`b1d30ec1`](dfinity/motoko-base@b1d30ec) chore: add examples for CertifiedData ([dfinity/motoko-base#469](https://togithub.com/dfinity/motoko-base/issues/469)) * [`a3233a47`](dfinity/motoko-base@a3233a4) doc: ExperimentalStableMemory module ([dfinity/motoko-base#482](https://togithub.com/dfinity/motoko-base/issues/482)) * [`e52bc256`](dfinity/motoko-base@e52bc25) Small typo in CertifiedData ([dfinity/motoko-base#490](https://togithub.com/dfinity/motoko-base/issues/490)) * [`3729c65c`](dfinity/motoko-base@3729c65) Float documentation and unit tests ([dfinity/motoko-base#455](https://togithub.com/dfinity/motoko-base/issues/455)) * [`1fa5240f`](dfinity/motoko-base@1fa5240) Deque documentation and unit tests ([dfinity/motoko-base#465](https://togithub.com/dfinity/motoko-base/issues/465)) * [`a6826315`](dfinity/motoko-base@a682631) RBTree documentation and unit tests ([dfinity/motoko-base#472](https://togithub.com/dfinity/motoko-base/issues/472)) * [`edb24def`](dfinity/motoko-base@edb24de) ExperimentalCycles documentation (no unit tests) ([dfinity/motoko-base#477](https://togithub.com/dfinity/motoko-base/issues/477)) * [`eded1b73`](dfinity/motoko-base@eded1b7) doc: Text module ([dfinity/motoko-base#458](https://togithub.com/dfinity/motoko-base/issues/458)) * [`41736374`](dfinity/motoko-base@4173637) chore: add examples for CertifiedData ([dfinity/motoko-base#469](https://togithub.com/dfinity/motoko-base/issues/469)) * [`f4255ddb`](dfinity/motoko-base@f4255dd) doc: ExperimentalStableMemory module ([dfinity/motoko-base#482](https://togithub.com/dfinity/motoko-base/issues/482)) * [`d99cd69d`](dfinity/motoko-base@d99cd69) Small typo in CertifiedData ([dfinity/motoko-base#490](https://togithub.com/dfinity/motoko-base/issues/490)) * [`859edc14`](dfinity/motoko-base@859edc1) Float documentation and unit tests ([dfinity/motoko-base#455](https://togithub.com/dfinity/motoko-base/issues/455)) * [`384ef6ee`](dfinity/motoko-base@384ef6e) Deque documentation and unit tests ([dfinity/motoko-base#465](https://togithub.com/dfinity/motoko-base/issues/465)) * [`f0cf4da4`](dfinity/motoko-base@f0cf4da) RBTree documentation and unit tests ([dfinity/motoko-base#472](https://togithub.com/dfinity/motoko-base/issues/472)) * [`66a682af`](dfinity/motoko-base@66a682a) ExperimentalCycles documentation (no unit tests) ([dfinity/motoko-base#477](https://togithub.com/dfinity/motoko-base/issues/477)) * [`b4b6caca`](dfinity/motoko-base@b4b6cac) Add `Array.size` ([dfinity/motoko-base#494](https://togithub.com/dfinity/motoko-base/issues/494)) * [`a5910190`](dfinity/motoko-base@a591019) fix: non-local import in `Trie.mo` ([dfinity/motoko-base#495](https://togithub.com/dfinity/motoko-base/issues/495)) * [`823b0b40`](dfinity/motoko-base@823b0b4) Add `Array.size` ([dfinity/motoko-base#494](https://togithub.com/dfinity/motoko-base/issues/494)) * [`4e6a7554`](dfinity/motoko-base@4e6a755) fix: non-local import in `Trie.mo` ([dfinity/motoko-base#495](https://togithub.com/dfinity/motoko-base/issues/495)) * [`98c96a57`](dfinity/motoko-base@98c96a5) doc: add some explanation and improve examples in `Func.mo` ([dfinity/motoko-base#471](https://togithub.com/dfinity/motoko-base/issues/471)) * [`4f8d37b6`](dfinity/motoko-base@4f8d37b) Int8/16/32/64 documentation and unit tests ([dfinity/motoko-base#475](https://togithub.com/dfinity/motoko-base/issues/475)) * [`ef40d9d4`](dfinity/motoko-base@ef40d9d) fix: Base library issues with `Float` ([dfinity/motoko-base#480](https://togithub.com/dfinity/motoko-base/issues/480)) * [`842e2b95`](dfinity/motoko-base@842e2b9) Typo in Float documentation ([dfinity/motoko-base#498](https://togithub.com/dfinity/motoko-base/issues/498)) * [`443fcf86`](dfinity/motoko-base@443fcf8) doc: Random module ([dfinity/motoko-base#484](https://togithub.com/dfinity/motoko-base/issues/484)) * [`ed727604`](dfinity/motoko-base@ed72760) doc: add examples to trie ([dfinity/motoko-base#454](https://togithub.com/dfinity/motoko-base/issues/454)) * [`4b472cf9`](dfinity/motoko-base@4b472cf) fix `bitnot` for the `Nat*` family too ([dfinity/motoko-base#504](https://togithub.com/dfinity/motoko-base/issues/504)) * [`78af93bd`](dfinity/motoko-base@78af93b) feat: fix TrieSet.equals, add TrieSet.isEmpty, TrieSet.isSubset; add tests ([dfinity/motoko-base#503](https://togithub.com/dfinity/motoko-base/issues/503)) * [`22152e95`](dfinity/motoko-base@22152e9) bugfix: fix issue [dfinity/motoko-base#492](https://togithub.com/dfinity/motoko-base/issues/492) plus some testing of Random.mo ([dfinity/motoko-base#500](https://togithub.com/dfinity/motoko-base/issues/500)) * [`b2e6e584`](dfinity/motoko-base@b2e6e58) bugfix: fixes [dfinity/motoko-base#448](https://togithub.com/dfinity/motoko-base/issues/448) ([dfinity/motoko-base#505](https://togithub.com/dfinity/motoko-base/issues/505)) * [`f602517f`](dfinity/motoko-base@f602517) Add examples and update docs for Stack ([dfinity/motoko-base#470](https://togithub.com/dfinity/motoko-base/issues/470))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...212296e4](WebAssembly/wasi-libc@c5264e2...212296e) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...0fe51d25](WebAssembly/wasi-libc@c5264e2...0fe51d2) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...09683b36](WebAssembly/wasi-libc@c5264e2...09683b3) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...a1b4def3](WebAssembly/wasi-libc@c5264e2...a1b4def) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...f493dc28](WebAssembly/wasi-libc@c5264e2...f493dc2) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...6593687e](WebAssembly/wasi-libc@c5264e2...6593687) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...a2ed34e8](WebAssembly/wasi-libc@c5264e2...a2ed34e) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...d0382948](WebAssembly/wasi-libc@c5264e2...d038294) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...9e8c5423](WebAssembly/wasi-libc@c5264e2...9e8c542) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...9e8c5423](WebAssembly/wasi-libc@c5264e2...9e8c542) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...88761387](WebAssembly/wasi-libc@c5264e2...8876138) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...2f088a99](WebAssembly/wasi-libc@c5264e2...2f088a9) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...a3ef1520](WebAssembly/wasi-libc@c5264e2...a3ef152) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...7528b131](WebAssembly/wasi-libc@c5264e2...7528b13) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...31845366](WebAssembly/wasi-libc@c5264e2...3184536) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...31845366](WebAssembly/wasi-libc@c5264e2...3184536) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...320bbbcc](WebAssembly/wasi-libc@c5264e2...320bbbc) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...5667be15](WebAssembly/wasi-libc@c5264e2...5667be1) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...b9e15a8a](WebAssembly/wasi-libc@c5264e2...b9e15a8) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...b9e15a8a](WebAssembly/wasi-libc@c5264e2...b9e15a8) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...b9ef79d7](WebAssembly/wasi-libc@c5264e2...b9ef79d) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...5d3c5e91](WebAssembly/wasi-libc@c5264e2...5d3c5e9) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517)) * [`5d3c5e91`](WebAssembly/wasi-libc@5d3c5e9) Improve some pthreads stub functions, batch 0 ([WebAssembly/wasi-libc#519](https://togithub.com/WebAssembly/wasi-libc/issues/519))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...230d4be6](WebAssembly/wasi-libc@c5264e2...230d4be) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517)) * [`5d3c5e91`](WebAssembly/wasi-libc@5d3c5e9) Improve some pthreads stub functions, batch 0 ([WebAssembly/wasi-libc#519](https://togithub.com/WebAssembly/wasi-libc/issues/519)) * [`230d4be6`](WebAssembly/wasi-libc@230d4be) Improve some pthreads stub functions, batch 1 ([WebAssembly/wasi-libc#525](https://togithub.com/WebAssembly/wasi-libc/issues/525))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...230d4be6](WebAssembly/wasi-libc@c5264e2...230d4be) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517)) * [`5d3c5e91`](WebAssembly/wasi-libc@5d3c5e9) Improve some pthreads stub functions, batch 0 ([WebAssembly/wasi-libc#519](https://togithub.com/WebAssembly/wasi-libc/issues/519)) * [`230d4be6`](WebAssembly/wasi-libc@230d4be) Improve some pthreads stub functions, batch 1 ([WebAssembly/wasi-libc#525](https://togithub.com/WebAssembly/wasi-libc/issues/525))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...230d4be6](WebAssembly/wasi-libc@c5264e2...230d4be) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517)) * [`5d3c5e91`](WebAssembly/wasi-libc@5d3c5e9) Improve some pthreads stub functions, batch 0 ([WebAssembly/wasi-libc#519](https://togithub.com/WebAssembly/wasi-libc/issues/519)) * [`230d4be6`](WebAssembly/wasi-libc@230d4be) Improve some pthreads stub functions, batch 1 ([WebAssembly/wasi-libc#525](https://togithub.com/WebAssembly/wasi-libc/issues/525))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...1b19fc65](WebAssembly/wasi-libc@c5264e2...1b19fc6) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517)) * [`5d3c5e91`](WebAssembly/wasi-libc@5d3c5e9) Improve some pthreads stub functions, batch 0 ([WebAssembly/wasi-libc#519](https://togithub.com/WebAssembly/wasi-libc/issues/519)) * [`230d4be6`](WebAssembly/wasi-libc@230d4be) Improve some pthreads stub functions, batch 1 ([WebAssembly/wasi-libc#525](https://togithub.com/WebAssembly/wasi-libc/issues/525)) * [`8279f959`](WebAssembly/wasi-libc@8279f95) Exclude setjmp runtime from LTO ([WebAssembly/wasi-libc#529](https://togithub.com/WebAssembly/wasi-libc/issues/529)) * [`3f812abf`](WebAssembly/wasi-libc@3f812ab) fix shared library build with llvm-19 ([WebAssembly/wasi-libc#526](https://togithub.com/WebAssembly/wasi-libc/issues/526)) * [`1b19fc65`](WebAssembly/wasi-libc@1b19fc6) getaddrinfo: improve the service/port resolution ([WebAssembly/wasi-libc#524](https://togithub.com/WebAssembly/wasi-libc/issues/524))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...1b19fc65](WebAssembly/wasi-libc@c5264e2...1b19fc6) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517)) * [`5d3c5e91`](WebAssembly/wasi-libc@5d3c5e9) Improve some pthreads stub functions, batch 0 ([WebAssembly/wasi-libc#519](https://togithub.com/WebAssembly/wasi-libc/issues/519)) * [`230d4be6`](WebAssembly/wasi-libc@230d4be) Improve some pthreads stub functions, batch 1 ([WebAssembly/wasi-libc#525](https://togithub.com/WebAssembly/wasi-libc/issues/525)) * [`8279f959`](WebAssembly/wasi-libc@8279f95) Exclude setjmp runtime from LTO ([WebAssembly/wasi-libc#529](https://togithub.com/WebAssembly/wasi-libc/issues/529)) * [`3f812abf`](WebAssembly/wasi-libc@3f812ab) fix shared library build with llvm-19 ([WebAssembly/wasi-libc#526](https://togithub.com/WebAssembly/wasi-libc/issues/526)) * [`1b19fc65`](WebAssembly/wasi-libc@1b19fc6) getaddrinfo: improve the service/port resolution ([WebAssembly/wasi-libc#524](https://togithub.com/WebAssembly/wasi-libc/issues/524))
## Changelog for musl-wasi: Branch: main Commits: [WebAssembly/wasi-libc@c5264e2b...7d4d3b83](WebAssembly/wasi-libc@c5264e2...7d4d3b8) * [`4bac52ea`](WebAssembly/wasi-libc@4bac52e) Remove trailing backtick in README.md ([WebAssembly/wasi-libc#455](https://togithub.com/WebAssembly/wasi-libc/issues/455)) * [`5a693184`](WebAssembly/wasi-libc@5a69318) add `wasm32-wasi-preview2` target ([WebAssembly/wasi-libc#457](https://togithub.com/WebAssembly/wasi-libc/issues/457)) * [`925ad6d7`](WebAssembly/wasi-libc@925ad6d) CI: include wasi-threads in the sysroot ([WebAssembly/wasi-libc#458](https://togithub.com/WebAssembly/wasi-libc/issues/458)) * [`03b228e4`](WebAssembly/wasi-libc@03b228e) emmalloc: use __heap_end instead of sbrk(0) ([WebAssembly/wasi-libc#462](https://togithub.com/WebAssembly/wasi-libc/issues/462)) * [`47b9db6d`](WebAssembly/wasi-libc@47b9db6) add WASI Preview 2 bindings ([WebAssembly/wasi-libc#460](https://togithub.com/WebAssembly/wasi-libc/issues/460)) * [`cc62fa82`](WebAssembly/wasi-libc@cc62fa8) add stubs for `statvfs`, `chmod`, etc. ([WebAssembly/wasi-libc#463](https://togithub.com/WebAssembly/wasi-libc/issues/463)) * [`a6489a85`](WebAssembly/wasi-libc@a6489a8) test: use the same version of wasmtime and adapter ([WebAssembly/wasi-libc#468](https://togithub.com/WebAssembly/wasi-libc/issues/468)) * [`212296e4`](WebAssembly/wasi-libc@212296e) add realpath.c to `LIBC_TOP_HALF_MUSL_SOURCES` ([WebAssembly/wasi-libc#473](https://togithub.com/WebAssembly/wasi-libc/issues/473)) * [`55df1f54`](WebAssembly/wasi-libc@55df1f5) Update bindings and dependencies to WASI 0.2.0 ([WebAssembly/wasi-libc#471](https://togithub.com/WebAssembly/wasi-libc/issues/471)) * [`0fe51d25`](WebAssembly/wasi-libc@0fe51d2) add preview2_component_type.o to libc.a and libc.so ([WebAssembly/wasi-libc#472](https://togithub.com/WebAssembly/wasi-libc/issues/472)) * [`09683b36`](WebAssembly/wasi-libc@09683b3) add descriptor table for mapping fds to handles ([WebAssembly/wasi-libc#464](https://togithub.com/WebAssembly/wasi-libc/issues/464)) * [`c9c7d061`](WebAssembly/wasi-libc@c9c7d06) Start renaming preview1 to p1 and preview2 to p2 ([WebAssembly/wasi-libc#478](https://togithub.com/WebAssembly/wasi-libc/issues/478)) * [`a1b4def3`](WebAssembly/wasi-libc@a1b4def) fix `#ifdef __cplusplus` guard in dirent.h ([WebAssembly/wasi-libc#479](https://togithub.com/WebAssembly/wasi-libc/issues/479)) * [`c8ef60ad`](WebAssembly/wasi-libc@c8ef60a) Add support for pthread_getattr_np ([WebAssembly/wasi-libc#470](https://togithub.com/WebAssembly/wasi-libc/issues/470)) * [`a963040f`](WebAssembly/wasi-libc@a963040) crt1-command.c: fix whitespace issues ([WebAssembly/wasi-libc#480](https://togithub.com/WebAssembly/wasi-libc/issues/480)) * [`684f1556`](WebAssembly/wasi-libc@684f155) implement basic TCP/UDP client support ([WebAssembly/wasi-libc#477](https://togithub.com/WebAssembly/wasi-libc/issues/477)) * [`f493dc28`](WebAssembly/wasi-libc@f493dc2) implement basic TCP/UDP server support ([WebAssembly/wasi-libc#481](https://togithub.com/WebAssembly/wasi-libc/issues/481)) * [`6593687e`](WebAssembly/wasi-libc@6593687) add wasip2 implementations of more socket APIs ([WebAssembly/wasi-libc#482](https://togithub.com/WebAssembly/wasi-libc/issues/482)) * [`a2ed34e8`](WebAssembly/wasi-libc@a2ed34e) wasip2 support for `close`, `poll`, `pselect` ([WebAssembly/wasi-libc#486](https://togithub.com/WebAssembly/wasi-libc/issues/486)) * [`1ab654e2`](WebAssembly/wasi-libc@1ab654e) Add libsetjmp.a/so ([WebAssembly/wasi-libc#483](https://togithub.com/WebAssembly/wasi-libc/issues/483)) * [`d0382948`](WebAssembly/wasi-libc@d038294) implement `getsockname`, `getpeername`, and `getaddrinfo` ([WebAssembly/wasi-libc#488](https://togithub.com/WebAssembly/wasi-libc/issues/488)) * [`9e8c5423`](WebAssembly/wasi-libc@9e8c542) add `__wasilibc_reset_preopens` ([WebAssembly/wasi-libc#489](https://togithub.com/WebAssembly/wasi-libc/issues/489)) * [`13ed9802`](WebAssembly/wasi-libc@13ed980) Adjust Makefile for LLVM trunk (19) as of 2024-04-26 ([WebAssembly/wasi-libc#492](https://togithub.com/WebAssembly/wasi-libc/issues/492)) * [`129ee9b6`](WebAssembly/wasi-libc@129ee9b) Adjust Makefile for LLVM trunk (19) as of 2024-04-30 ([WebAssembly/wasi-libc#493](https://togithub.com/WebAssembly/wasi-libc/issues/493)) * [`88761387`](WebAssembly/wasi-libc@8876138) Remove extra lock-taking in preopen setup ([WebAssembly/wasi-libc#491](https://togithub.com/WebAssembly/wasi-libc/issues/491)) * [`2f088a99`](WebAssembly/wasi-libc@2f088a9) Update `_POSIX_THREAD_XX` macro definitions ([WebAssembly/wasi-libc#494](https://togithub.com/WebAssembly/wasi-libc/issues/494)) * [`a3ef1520`](WebAssembly/wasi-libc@a3ef152) dlmalloc: account the footprint of the initial heap ([WebAssembly/wasi-libc#496](https://togithub.com/WebAssembly/wasi-libc/issues/496)) * [`153f6321`](WebAssembly/wasi-libc@153f632) Ignore the `__tls_base` undefined symbol ([WebAssembly/wasi-libc#498](https://togithub.com/WebAssembly/wasi-libc/issues/498)) * [`44c4b1e3`](WebAssembly/wasi-libc@44c4b1e) Use a different makefile variable for `-D__wasilibc_use_wasip2` ([WebAssembly/wasi-libc#499](https://togithub.com/WebAssembly/wasi-libc/issues/499)) * [`7528b131`](WebAssembly/wasi-libc@7528b13) Extend wasi-emulated-mman with `mprotect`. ([WebAssembly/wasi-libc#500](https://togithub.com/WebAssembly/wasi-libc/issues/500)) * [`acd0a6e3`](WebAssembly/wasi-libc@acd0a6e) include pthread.h for all targets ([WebAssembly/wasi-libc#504](https://togithub.com/WebAssembly/wasi-libc/issues/504)) * [`31845366`](WebAssembly/wasi-libc@3184536) Makefile: separate the target to create empty dummy libraries ([WebAssembly/wasi-libc#502](https://togithub.com/WebAssembly/wasi-libc/issues/502)) * [`ebac9aee`](WebAssembly/wasi-libc@ebac9ae) timezone __secs_to_zone stub: guard against null pointer dereference ([WebAssembly/wasi-libc#507](https://togithub.com/WebAssembly/wasi-libc/issues/507)) * [`320bbbcc`](WebAssembly/wasi-libc@320bbbc) Adjust Makefile for LLVM trunk (19) as of 2024-06-20 ([WebAssembly/wasi-libc#509](https://togithub.com/WebAssembly/wasi-libc/issues/509)) * [`67080fa0`](WebAssembly/wasi-libc@67080fa) `times` should always return 0 for `tms_cutime` ([WebAssembly/wasi-libc#510](https://togithub.com/WebAssembly/wasi-libc/issues/510)) * [`5667be15`](WebAssembly/wasi-libc@5667be1) 0-initialize thread-specific data upon thread creation. ([WebAssembly/wasi-libc#508](https://togithub.com/WebAssembly/wasi-libc/issues/508)) * [`3f43ea9a`](WebAssembly/wasi-libc@3f43ea9) iconv/wctomb: fix memory corruption related to CURRENT_UTF8 implementation ([WebAssembly/wasi-libc#511](https://togithub.com/WebAssembly/wasi-libc/issues/511)) * [`d43dcc63`](WebAssembly/wasi-libc@d43dcc6) Adjust Makefile for LLVM trunk (19) as of 2024-07-10 ([WebAssembly/wasi-libc#512](https://togithub.com/WebAssembly/wasi-libc/issues/512)) * [`b9e15a8a`](WebAssembly/wasi-libc@b9e15a8) Add LTO build option ([WebAssembly/wasi-libc#505](https://togithub.com/WebAssembly/wasi-libc/issues/505)) * [`b9ef79d7`](WebAssembly/wasi-libc@b9ef79d) Use the correct compiler-rt ([WebAssembly/wasi-libc#517](https://togithub.com/WebAssembly/wasi-libc/issues/517)) * [`5d3c5e91`](WebAssembly/wasi-libc@5d3c5e9) Improve some pthreads stub functions, batch 0 ([WebAssembly/wasi-libc#519](https://togithub.com/WebAssembly/wasi-libc/issues/519)) * [`230d4be6`](WebAssembly/wasi-libc@230d4be) Improve some pthreads stub functions, batch 1 ([WebAssembly/wasi-libc#525](https://togithub.com/WebAssembly/wasi-libc/issues/525)) * [`8279f959`](WebAssembly/wasi-libc@8279f95) Exclude setjmp runtime from LTO ([WebAssembly/wasi-libc#529](https://togithub.com/WebAssembly/wasi-libc/issues/529)) * [`3f812abf`](WebAssembly/wasi-libc@3f812ab) fix shared library build with llvm-19 ([WebAssembly/wasi-libc#526](https://togithub.com/WebAssembly/wasi-libc/issues/526)) * [`1b19fc65`](WebAssembly/wasi-libc@1b19fc6) getaddrinfo: improve the service/port resolution ([WebAssembly/wasi-libc#524](https://togithub.com/WebAssembly/wasi-libc/issues/524)) * [`7d4d3b83`](WebAssembly/wasi-libc@7d4d3b8) ci: update actions ([WebAssembly/wasi-libc#535](https://togithub.com/WebAssembly/wasi-libc/issues/535))
This keeps track of rejected type/unop combinations.
There is some wonkiness going on with+
/Nat
, which I'll tackle next.UPDATE (12-09-2019): This PR only tests the status quo.
There have been some changes to the coverage checker and its interaction with type checking, so that previously described problems seem to be resolved.