| ... | @@ -109,6 +109,8 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths | ... | @@ -109,6 +109,8 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths |
| 109 | | 109 | |
| 110 | if (native_target.os.tag != .windows) { | 110 | if (native_target.os.tag != .windows) { |
| 111 | const triple = try native_target.linuxTriple(allocator); | 111 | const triple = try native_target.linuxTriple(allocator); |
| | 112 | defer allocator.free(triple); |
| | 113 | |
| 112 | const qual = native_target.cpu.arch.ptrBitWidth(); | 114 | const qual = native_target.cpu.arch.ptrBitWidth(); |
| 113 | | 115 | |
| 114 | // TODO: $ ld --verbose | grep SEARCH_DIR | 116 | // TODO: $ ld --verbose | grep SEARCH_DIR |