zig/src-self-hosted
Andrew Kelley 4b02a39aa9
self-hosted libc detection
* libc_installation.cpp is deleted.
   src-self-hosted/libc_installation.zig is now used for both stage1 and
   stage2 compilers.
 * (breaking) move `std.fs.File.access` to `std.fs.Dir.access`. The API
   now encourages use with an open directory handle.
 * Add `std.os.faccessat` and related functions.
 * Deprecate the "C" suffix naming convention for null-terminated
   parameters. "C" should be used when it is related to libc. However
   null-terminated parameters often have to do with the native system
   ABI rather than libc. "Z" suffix is the new convention. For example,
   `std.os.openC` is deprecated in favor of `std.os.openZ`.
 * Add `std.mem.dupeZ` for using an allocator to copy memory and add a
   null terminator.
 * Remove dead struct field `std.ChildProcess.llnode`.
 * Introduce `std.event.Batch`. This API allows expressing concurrency
   without forcing code to be async. It requires no Allocator and does
   not introduce any failure conditions. However it is not thread-safe.
 * There is now an ongoing experiment to transition away from
   `std.event.Group` in favor of `std.event.Batch`.
 * `std.os.execvpeC` calls `getenvZ` rather than `getenv`. This is
   slightly more efficient on most systems, and works around a
   limitation of `getenv` lack of integration with libc.
 * (breaking) `std.os.AccessError` gains `FileBusy`, `SymLinkLoop`, and
   `ReadOnlyFileSystem`. Previously these error codes were all reported
   as `PermissionDenied`.
 * Add `std.Target.isDragonFlyBSD`.
 * stage2: access to the windows_sdk functions is done with a manually
   maintained .zig binding file instead of `@cImport`.
 * Update src-self-hosted/libc_installation.zig with all the
   improvements that stage1 has seen to src/libc_installation.cpp until
   now. In addition, it now takes advantage of Batch so that evented I/O
   mode takes advantage of concurrency, but it still works in blocking
   I/O mode, which is how it is used in stage1.
2020-02-16 13:25:30 -05:00
..
c_int.zig
c.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
clang.zig translate-c: Don't make const parameters mutable. (#4273) 2020-01-24 15:32:32 -05:00
codegen.zig Add InstallRawStep to Zig build system that does a similar job to llvm-objcopy. To use it, do 'exe.installRaw("kernel.bin");' where exe is a LibExeObjStep 2020-02-03 15:07:34 -05:00
compilation.zig skip self-hosted for now as we work towards async I/O 2020-02-07 12:30:16 -05:00
decl.zig
dep_tokenizer.zig std.fmt.format: comptime output parameter 2020-02-05 16:52:18 -05:00
errmsg.zig
introspect.zig skip self-hosted for now as we work towards async I/O 2020-02-07 12:30:16 -05:00
ir.zig
libc_installation.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
link.zig Add InstallRawStep to Zig build system that does a similar job to llvm-objcopy. To use it, do 'exe.installRaw("kernel.bin");' where exe is a LibExeObjStep 2020-02-03 15:07:34 -05:00
llvm.zig
main.zig skip self-hosted for now as we work towards async I/O 2020-02-07 12:30:16 -05:00
package.zig
print_targets.zig std.Target.CpuFeatures is now a struct with both CPU and feature set 2020-01-22 17:13:31 -05:00
scope.zig
stage1.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
test.zig
translate_c.zig translate-c: change OutOfMemory → ASTUnitFailure 2020-02-15 05:14:31 -05:00
type.zig
util.zig Add InstallRawStep to Zig build system that does a similar job to llvm-objcopy. To use it, do 'exe.installRaw("kernel.bin");' where exe is a LibExeObjStep 2020-02-03 15:07:34 -05:00
value.zig
visib.zig
windows_sdk.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00