Commit 7e65fe7ac3

Andrew Kelley <superjoe30@gmail.com>
2018-01-04 22:36:59
fix test regressions on windows from previous commit
1 parent d008e20
Changed files (1)
std
std/os/index.zig
@@ -1573,7 +1573,7 @@ pub fn selfExePath(allocator: &mem.Allocator) -> %[]u8 {
                     out_path.shrink(copied_amt);
                     return out_path.toOwnedSlice();
                 }
-                const new_len = (%return math.shlExact(out_path.len(), 1)) | 0b1;
+                const new_len = (out_path.len() << 1) | 0b1;
                 %return out_path.resize(new_len);
             }
         },