aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-06-12 01:55:08 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-06-12 01:57:09 -0400
commit3dd9af9948db696362aa5f41481dc4cb034bc6c2 (patch)
tree747a0f203be57fc407d82ee6371602e897597661 /doc
parent0a18d53c3dc9816677071c20ab846e3866787b39 (diff)
downloadzig-3dd9af9948db696362aa5f41481dc4cb034bc6c2.tar.gz
zig-3dd9af9948db696362aa5f41481dc4cb034bc6c2.zip
implement std.os.Dir for windows
improve std.os.File.access so that it does not depend on shlwapi.dll closes #1084
Diffstat (limited to 'doc')
-rw-r--r--doc/docgen.zig10
1 files changed, 2 insertions, 8 deletions
diff --git a/doc/docgen.zig b/doc/docgen.zig
index 3283d146b0..d74c5a4615 100644
--- a/doc/docgen.zig
+++ b/doc/docgen.zig
@@ -51,14 +51,8 @@ pub fn main() !void {
var toc = try genToc(allocator, &tokenizer);
try os.makePath(allocator, tmp_dir_name);
- defer {
- // TODO issue #709
- // disabled to pass CI tests, but obviously we want to implement this
- // and then remove this workaround
- if (builtin.os != builtin.Os.windows) {
- os.deleteTree(allocator, tmp_dir_name) catch {};
- }
- }
+ defer os.deleteTree(allocator, tmp_dir_name) catch {};
+
try genHtml(allocator, &tokenizer, &toc, &buffered_out_stream.stream, zig_exe);
try buffered_out_stream.flush();
}