Skip to content

druntime: Treat WASI as Posix - #23475

Open
QuantumSegfault wants to merge 4 commits into
dlang:masterfrom
QuantumSegfault:wasi-is-posix
Open

druntime: Treat WASI as Posix#23475
QuantumSegfault wants to merge 4 commits into
dlang:masterfrom
QuantumSegfault:wasi-is-posix

Conversation

@QuantumSegfault

Copy link
Copy Markdown
Contributor

Adds WASI (or rather wasi-libc) support to core.sys.posix, and makes all WASI triples define Posix.

Also removes or adjust other WASI specific code accordingly.


Upstreaming of ldc-developers/ldc#5230

@QuantumSegfault

Copy link
Copy Markdown
Contributor Author

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

DMD perf check

Metric Base PR delta
compile hello.d (instr) 215.6 M 216.1 M +0.21%
compile hello.d -O (instr) 234.1 M 234.6 M +0.19%
compile Phobos (instr) 5,075.3 M 5,075.7 M +0.01%
dmd binary size (stripped) 6.88 MB 6.88 MB 0.00%
hello binary size 0.72 MB 0.72 MB 0.00%
peak RSS (compile hello.d) 44 MB 44 MB -0.15%
peak RSS (compile Phobos) 633 MB 633 MB -0.02%

@rikkimax

Copy link
Copy Markdown
Contributor

Append with empty changelist, and push.
Looks like CircleCI is just being weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants