| ... | @@ -348,7 +348,7 @@ pub const LibCInstallation = struct { | ... | @@ -348,7 +348,7 @@ pub const LibCInstallation = struct { |
| 348 | | 348 | |
| 349 | for (searches) |search| { | 349 | for (searches) |search| { |
| 350 | result_buf.shrink(0); | 350 | result_buf.shrink(0); |
| 351 | const stream = &std.io.BufferOutStream.init(&result_buf).stream; | 351 | const stream = result_buf.outStream(); |
| 352 | try stream.print("{}\\Include\\{}\\ucrt", .{ search.path, search.version }); | 352 | try stream.print("{}\\Include\\{}\\ucrt", .{ search.path, search.version }); |
| 353 | | 353 | |
| 354 | var dir = fs.cwd().openDirList(result_buf.toSliceConst()) catch |err| switch (err) { | 354 | var dir = fs.cwd().openDirList(result_buf.toSliceConst()) catch |err| switch (err) { |
| ... | @@ -395,7 +395,7 @@ pub const LibCInstallation = struct { | ... | @@ -395,7 +395,7 @@ pub const LibCInstallation = struct { |
| 395 | | 395 | |
| 396 | for (searches) |search| { | 396 | for (searches) |search| { |
| 397 | result_buf.shrink(0); | 397 | result_buf.shrink(0); |
| 398 | const stream = &std.io.BufferOutStream.init(&result_buf).stream; | 398 | const stream = result_buf.outStream(); |
| 399 | try stream.print("{}\\Lib\\{}\\ucrt\\{}", .{ search.path, search.version, arch_sub_dir }); | 399 | try stream.print("{}\\Lib\\{}\\ucrt\\{}", .{ search.path, search.version, arch_sub_dir }); |
| 400 | | 400 | |
| 401 | var dir = fs.cwd().openDirList(result_buf.toSliceConst()) catch |err| switch (err) { | 401 | var dir = fs.cwd().openDirList(result_buf.toSliceConst()) catch |err| switch (err) { |
| ... | @@ -459,7 +459,7 @@ pub const LibCInstallation = struct { | ... | @@ -459,7 +459,7 @@ pub const LibCInstallation = struct { |
| 459 | | 459 | |
| 460 | for (searches) |search| { | 460 | for (searches) |search| { |
| 461 | result_buf.shrink(0); | 461 | result_buf.shrink(0); |
| 462 | const stream = &std.io.BufferOutStream.init(&result_buf).stream; | 462 | const stream = result_buf.outStream(); |
| 463 | try stream.print("{}\\Lib\\{}\\um\\{}", .{ search.path, search.version, arch_sub_dir }); | 463 | try stream.print("{}\\Lib\\{}\\um\\{}", .{ search.path, search.version, arch_sub_dir }); |
| 464 | | 464 | |
| 465 | var dir = fs.cwd().openDirList(result_buf.toSliceConst()) catch |err| switch (err) { | 465 | var dir = fs.cwd().openDirList(result_buf.toSliceConst()) catch |err| switch (err) { |