Andrew Kelley
1070c2a71a
rename env_map to environ_map
...
For naming consistency with `std.process.Environ.Map`.
2026-01-04 00:27:09 -08:00
Andrew Kelley
bf74827ddb
test-standalone: update more cases to new main API
2026-01-04 00:27:08 -08:00
Andrew Kelley
1b56686012
test-standalone: update cases to new main API
2026-01-04 00:27:08 -08:00
Andrew Kelley
f28802a9c6
zig libc: fix subcommand
...
This branch regressed the child process "run" mechanism because it
didn't pass the correct stdin, stdout, stderr values to process.spawn
Fixed now.
2026-01-04 00:27:08 -08:00
Andrew Kelley
960c512efd
compiler: update std lib API usage
2026-01-04 00:27:08 -08:00
Andrew Kelley
691afee786
langref: fix build failure
2025-12-23 22:15:12 -08:00
Andrew Kelley
33e302d67a
update remaining calls to std.Io.Threaded.init
2025-12-23 22:15:12 -08:00
Ryan Liptak
51a6f3a525
Update a few more callsites for std.Io changes
2025-12-23 22:15:11 -08:00
Andrew Kelley
a8088306f6
std: rename other Dir "make" functions to "create"
2025-12-23 22:15:11 -08:00
Andrew Kelley
950d18ef69
update all access() to access(io)
2025-12-23 22:15:08 -08:00
Andrew Kelley
9ccd68de0b
std: move abort and exit from posix into process
...
and delete the unit tests that called fork()
no forking allowed in the std lib, including unit tests, except to implement child process spawning.
2025-12-23 22:15:08 -08:00
Andrew Kelley
f53248a409
update all std.fs.cwd() to std.Io.Dir.cwd()
2025-12-23 22:15:08 -08:00
Andrew Kelley
3204fb7569
update all occurrences of std.fs.File to std.Io.File
2025-12-23 22:15:07 -08:00
Andrew Kelley
aafddc2ea1
update all occurrences of close() to close(io)
2025-12-23 22:15:07 -08:00
Veikka Tuominen
21f3ff2a8d
update Aro and translate-c to latest
2025-11-20 13:12:53 +02:00
Andrew Kelley
2d7d98da0c
std.fs: use BadPathName rather than InvalidWtf8 on Windows
2025-10-29 06:20:50 -07:00
kcbanner
447280d0d9
- Move aroDiagnosticsToErrorBundle to compiler/util.zig
2025-10-09 01:06:09 -04:00
kcbanner
478cb9ce6a
- aro: fixup toErrorBundle not emitting the last error if it was followed by .off or .warning
...
- translate-c: emit `file_system_inputs` even in the case of failure, if available
- translate-c: fixup emitting zero-length `file_system_inputs`
2025-10-09 01:06:09 -04:00
kcbanner
4aa4d80ec6
- Rework translate-c to integrate with the build system (by outputing error bundles on stdout) via --zig-integration
...
- Revive some of the removed cache integration logic in `cmdTranslateC` now that `translate-c` can return error bundles
- Fixup inconsistent path separators (on Windows) when building the aro include path
- Move some error bundle logic from resinator into aro.Diagnostics
- Add `ErrorBundle.addRootErrorMessageWithNotes` (extracted from resinator)
2025-10-09 01:06:09 -04:00
Veikka Tuominen
d83c76eb5a
update aro & translate-c
2025-09-24 20:01:19 -07:00
Andrew Kelley
8cba6b1df8
aro: update
...
This is f5fb720a5399ee98e45f36337b2f68a4d23a783c plus ehaas's nonnull
attribute pull request currently at 4b26cb3ac610a0a070fc43e43da8b4cdf0e9101b
with zig patches intact.
2025-09-24 20:01:19 -07:00
Andrew Kelley
f0d3b7abb8
aro: fix dep file logic
...
also add ability to omit main source file from dep file as it messes up
caching strategy
2025-09-24 20:01:19 -07:00
Andrew Kelley
b6930097ec
translate-c: update for array list defaults
2025-09-24 20:01:19 -07:00
Andrew Kelley
0f88f9c664
aro: avoid BoundedArray
2025-09-24 20:01:19 -07:00
Veikka Tuominen
e7a622fb33
update aro and translate-c sources
2025-09-24 20:01:18 -07:00
Andrew Kelley
8e27821b60
simplify diagnostics
2025-09-24 20:01:18 -07:00
Andrew Kelley
d1820d2a3e
delete enough aro to make it compile
2025-09-24 20:01:18 -07:00
Andrew Kelley
328280b566
move translate-c helpers
2025-09-24 20:01:18 -07:00
Andrew Kelley
f49a54745b
compiler: update aro and translate-c to latest; delete clang translate-c
2025-09-24 19:57:28 -07:00