| ... | ... | @@ -5154,8 +5154,7 @@ fn fileHardLink( |
| 5154 | 5154 | options: File.HardLinkOptions, |
| 5155 | 5155 | ) File.HardLinkError!void { |
| 5156 | 5156 | _ = userdata; |
| 5157 | | if (is_windows) return error.OperationUnsupported; |
| 5158 | | if (native_os == .wasi and !builtin.link_libc) @panic("TODO"); |
| 5157 | if (native_os != .linux) return error.OperationUnsupported; |
| 5159 | 5158 | |
| 5160 | 5159 | var new_path_buffer: [posix.PATH_MAX]u8 = undefined; |
| 5161 | 5160 | const new_sub_path_posix = try pathToPosix(new_sub_path, &new_path_buffer); |