authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-01-04 16:36:59-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-01-04 16:36:59-05:00
log7e65fe7ac36076d0d34a530afd63a68d2eac3486
tree4c32e7697b2f68dffad9e9cb9b784e048b5ec71b
parentd008e209e7446311bda1b555284978dfabb91308

fix test regressions on windows from previous commit


1 files changed, 1 insertions(+), 1 deletions(-)

std/os/index.zig+1-1
...@@ -1573,7 +1573,7 @@ pub fn selfExePath(allocator: &mem.Allocator) -> %[]u8 {...@@ -1573,7 +1573,7 @@ pub fn selfExePath(allocator: &mem.Allocator) -> %[]u8 {
1573 out_path.shrink(copied_amt);1573 out_path.shrink(copied_amt);
1574 return out_path.toOwnedSlice();1574 return out_path.toOwnedSlice();
1575 }1575 }
1576 const new_len = (%return math.shlExact(out_path.len(), 1)) | 0b1;1576 const new_len = (out_path.len() << 1) | 0b1;
1577 %return out_path.resize(new_len);1577 %return out_path.resize(new_len);
1578 }1578 }
1579 },1579 },