| ... | ... | @@ -329,8 +329,7 @@ pub fn openPath(allocator: Allocator, options: link.Options) !*MachO { |
| 329 | 329 | |
| 330 | 330 | if (!options.strip and options.module != null) { |
| 331 | 331 | // Create dSYM bundle. |
| 332 | | const dir = options.module.?.zig_cache_artifact_directory; |
| 333 | | log.debug("creating {s}.dSYM bundle in {?s}", .{ emit.sub_path, dir.path }); |
| 332 | log.debug("creating {s}.dSYM bundle", .{emit.sub_path}); |
| 334 | 333 | |
| 335 | 334 | const d_sym_path = try fmt.allocPrint( |
| 336 | 335 | allocator, |
| ... | ... | @@ -339,7 +338,7 @@ pub fn openPath(allocator: Allocator, options: link.Options) !*MachO { |
| 339 | 338 | ); |
| 340 | 339 | defer allocator.free(d_sym_path); |
| 341 | 340 | |
| 342 | | var d_sym_bundle = try dir.handle.makeOpenPath(d_sym_path, .{}); |
| 341 | var d_sym_bundle = try emit.directory.handle.makeOpenPath(d_sym_path, .{}); |
| 343 | 342 | defer d_sym_bundle.close(); |
| 344 | 343 | |
| 345 | 344 | const d_sym_file = try d_sym_bundle.createFile(emit.sub_path, .{ |