| ... | ... | @@ -114,7 +114,6 @@ pub fn createEmpty( |
| 114 | 114 | const use_lld = build_options.have_llvm and comp.config.use_lld; |
| 115 | 115 | const use_llvm = comp.config.use_llvm; |
| 116 | 116 | const output_mode = comp.config.output_mode; |
| 117 | | const link_mode = comp.config.link_mode; |
| 118 | 117 | |
| 119 | 118 | // These are caught by `Compilation.Config.resolve`. |
| 120 | 119 | assert(!use_lld); |
| ... | ... | @@ -123,7 +122,6 @@ pub fn createEmpty( |
| 123 | 122 | const file = try emit.directory.handle.createFile(emit.sub_path, .{ |
| 124 | 123 | // Truncation is done on `flush`. |
| 125 | 124 | .truncate = false, |
| 126 | | .mode = link.File.determineMode(use_lld, output_mode, link_mode), |
| 127 | 125 | }); |
| 128 | 126 | errdefer file.close(); |
| 129 | 127 | |