| ... | ... | @@ -1875,8 +1875,10 @@ fn testMismatchedCpuArchitectureError(b: *Build, opts: Options) *Step { |
| 1875 | 1875 | exe.linkLibC(); |
| 1876 | 1876 | |
| 1877 | 1877 | expectLinkErrors(exe, test_step, .{ .exact = &.{ |
| 1878 | | "invalid cpu architecture: expected 'x86_64', but found 'aarch64'", |
| 1878 | "invalid cpu architecture: aarch64", |
| 1879 | 1879 | "note: while parsing /?/a.o", |
| 1880 | "undefined symbol: foo", |
| 1881 | "note: referenced by /?/a.o:.text", |
| 1880 | 1882 | } }); |
| 1881 | 1883 | |
| 1882 | 1884 | return test_step; |
| ... | ... | @@ -3305,7 +3307,9 @@ fn testUnknownFileTypeError(b: *Build, opts: Options) *Step { |
| 3305 | 3307 | exe.linkLibC(); |
| 3306 | 3308 | |
| 3307 | 3309 | expectLinkErrors(exe, test_step, .{ .exact = &.{ |
| 3308 | | "unknown file type", |
| 3310 | "invalid token in LD script: '\\x00\\x00\\x00\\x0c\\x00\\x00\\x00/usr/lib/dyld\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x0d' (0:829)", |
| 3311 | "note: while parsing /?/liba.dylib", |
| 3312 | "error: unexpected error: parsing input file failed with error InvalidLdScript", |
| 3309 | 3313 | "note: while parsing /?/liba.dylib", |
| 3310 | 3314 | "undefined symbol: foo", |
| 3311 | 3315 | "note: referenced by /?/a.o:.text", |