| ... | ... | @@ -213,11 +213,11 @@ pub const InstallRawStep = struct { |
| 213 | 213 | builder: *Builder, |
| 214 | 214 | artifact: *LibExeObjStep, |
| 215 | 215 | dest_dir: InstallDir, |
| 216 | | dest_filename: [] const u8, |
| 216 | dest_filename: []const u8, |
| 217 | 217 | |
| 218 | 218 | const Self = @This(); |
| 219 | 219 | |
| 220 | | pub fn create(builder: *Builder, artifact: *LibExeObjStep, dest_filename: [] const u8) *Self { |
| 220 | pub fn create(builder: *Builder, artifact: *LibExeObjStep, dest_filename: []const u8) *Self { |
| 221 | 221 | const self = builder.allocator.create(Self) catch unreachable; |
| 222 | 222 | self.* = Self{ |
| 223 | 223 | .step = Step.init(builder.fmt("install raw binary {}", .{artifact.step.name}), builder.allocator, make), |
| ... | ... | @@ -249,7 +249,7 @@ pub const InstallRawStep = struct { |
| 249 | 249 | const full_src_path = self.artifact.getOutputPath(); |
| 250 | 250 | const full_dest_path = builder.getInstallPath(self.dest_dir, self.dest_filename); |
| 251 | 251 | |
| 252 | | fs.makePath(builder.allocator, builder.getInstallPath(self.dest_dir, "")) catch unreachable; |
| 252 | fs.cwd().makePath(builder.getInstallPath(self.dest_dir, "")) catch unreachable; |
| 253 | 253 | try emit_raw(builder.allocator, full_src_path, full_dest_path); |
| 254 | 254 | } |
| 255 | | }; |
| | \ No newline at end of file |
| 255 | }; |