aboutsummaryrefslogtreecommitdiff
path: root/src/stage2.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-03-18 14:45:01 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-03-18 16:10:57 -0400
commit27affde592653ac7f92489cec404b4bf3e0d1b29 (patch)
treed563a351e3cf7656471f50cd5112b790d2c6233e /src/stage2.cpp
parentc45fe2759fdb882efb4caf89a35136b8b205ee7c (diff)
downloadzig-27affde592653ac7f92489cec404b4bf3e0d1b29.tar.gz
zig-27affde592653ac7f92489cec404b4bf3e0d1b29.zip
(breaking) clarify openDir API
* remove deprecated `std.fs.Dir` APIs * `std.fs.Dir.openDir` now takes a options struct with bool fields for `access_sub_paths` and `iterate`. It's now much more clear how opening directories works. * fixed the std lib and various zig code calling the wrong openDir function. * the runtime safety check for dir flags is removed in favor of the cheaper option of putting a comment on the same line as handling EBADF / ACCESS_DENIED, since that will show up in stack traces.
Diffstat (limited to 'src/stage2.cpp')
0 files changed, 0 insertions, 0 deletions