zig/src-self-hosted
Andrew Kelley d87cd06296 rework zig fmt to use less syscalls and open fds
* `std.fs.Dir.Entry.Kind` is moved to `std.fs.File.Kind`
 * `std.fs.File.Stat` gains the `kind` field, so performing a stat() on
   a File now tells what kind of file it is. On Windows this only will
   distinguish between directories and files.
 * rework zig fmt logic so that in the case of opening a file and
   discovering it to be a directory, it closes the file descriptor
   before re-opening it with O_DIRECTORY, using fewer simultaneous open
   file descriptors when walking a directory tree.
 * rework zig fmt logic so that it pays attention to the kind of
   directory entries, and when it sees a sub-directory it attempts to
   open it as a directory rather than a file, reducing the number of
   open() syscalls when walking a directory tree.
2020-06-20 18:27:37 -04:00
..
codegen [Stage2/x86] Fix 8-bit register order 2020-06-08 02:28:39 -04:00
Module.zig stage2: add passing test for compile error in unreferenced cycle 2020-06-08 15:16:40 -04:00
Package.zig self-hosted: link: global offset table support for decls 2020-05-12 20:11:47 -04:00
TypedValue.zig self-hosted: fix compile errors, except for codegen.zig 2020-05-13 20:06:01 -04:00
clang.zig translate-c: fix decl statement regression 2020-05-23 17:50:35 -04:00
clang_options.zig zig cc: fix ambiguity with -MT 2020-04-02 21:15:36 -04:00
clang_options_data.zig zig cc looks for native include directories unless -nostdinc 2020-04-04 14:58:24 -04:00
codegen.zig [Stage2/Codegen] Extract REX 2020-05-29 13:33:09 -04:00
dep_tokenizer.zig (breaking) std.Buffer => std.ArrayListSentineled(u8, 0) 2020-04-01 13:30:07 -04:00
introspect.zig self-hosted: use fs.selfExePathAlloc 2020-03-25 18:40:28 -04:00
ir.zig move Module to its own file 2020-05-15 21:44:33 -04:00
libc_installation.zig rework self-hosted compiler for incremental builds 2020-05-10 02:05:54 -04:00
link.zig remove debug log statements 2020-05-28 22:43:16 -04:00
llvm.zig fix stage2 build 2019-12-29 11:04:58 +02:00
main.zig rework zig fmt to use less syscalls and open fds 2020-06-20 18:27:37 -04:00
print_targets.zig windows: don't hard-code forward-slash paths 2020-03-27 21:28:52 -04:00
stage2.zig Merge remote-tracking branch 'origin/master' into self-hosted-incremental-compilation 2020-05-16 01:26:18 -04:00
test.zig Stage2/Testing: Code cleanup 2020-06-15 21:47:42 -04:00
translate_c.zig translate-c: don't crash on complex switches 2020-06-04 14:22:27 +03:00
type.zig stage2: -femit-zir respects decl names and supports cycles 2020-06-08 15:16:40 -04:00
value.zig stage2: -femit-zir respects decl names and supports cycles 2020-06-08 15:16:40 -04:00
windows_sdk.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
zir.zig stage2: fix not re-loading source file for updates after errors 2020-06-08 15:16:40 -04:00