| ... | @@ -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 | }, |