Ryan Liptak
3252a05531
Prefer <err> => |e| return e over <err> => return <err>
...
Avoids the potential for a typo on the `return <err>` side of the prong
2026-04-20 18:03:14 -07:00
Jacob Young
c77e7146f5
std.Threaded: replace console kernel32 functions with ntdll
2026-02-05 07:41:25 -05:00
Andrew Kelley
3c2f5adf41
std: integrate Io.Threaded with environment variables
...
* std.option allows overriding the debug Io instance
* if the default is used, start code initializes environ and argv0
also fix some places that needed recancel(), thanks mlugg!
See #30562
2025-12-23 22:15:12 -08:00
Ryan Liptak
3431f45031
std: Enough fixes to get things compiling on Windows
2025-12-23 22:15:11 -08:00
Ryan Liptak
f078c7138f
std: Update/fix some usages/implementations of std.Io APIs
2025-12-23 22:15:10 -08:00
Andrew Kelley
608145c2f0
fix more fallout from locking stderr
2025-12-23 22:15:10 -08:00
Andrew Kelley
aa57793b68
std: rework locking stderr
2025-12-23 22:15:09 -08:00