std: change @import("builtin") to std.builtin

This commit is contained in:
Andrew Kelley
2021-04-12 16:43:50 -07:00
parent a4bb7c8bb1
commit 429cd2b5dd
86 changed files with 263 additions and 268 deletions

View File

@@ -309,7 +309,7 @@ pub const TmpDir = struct {
};
fn getCwdOrWasiPreopen() std.fs.Dir {
if (@import("builtin").os.tag == .wasi) {
if (std.builtin.os.tag == .wasi) {
var preopens = std.fs.wasi.PreopenList.init(allocator);
defer preopens.deinit();
preopens.populate() catch