| ... | @@ -440,7 +440,7 @@ const test_targets = blk: { | ... | @@ -440,7 +440,7 @@ const test_targets = blk: { |
| 440 | .target = std.Target.Query.parse(.{ | 440 | .target = std.Target.Query.parse(.{ |
| 441 | .arch_os_abi = "thumb-linux-musleabi", | 441 | .arch_os_abi = "thumb-linux-musleabi", |
| 442 | .cpu_features = "baseline+long_calls", | 442 | .cpu_features = "baseline+long_calls", |
| 443 | }) catch @panic("OOM"), | 443 | }) catch unreachable, |
| 444 | .link_libc = true, | 444 | .link_libc = true, |
| 445 | .pic = false, // Long calls don't work with PIC. | 445 | .pic = false, // Long calls don't work with PIC. |
| 446 | .skip_modules = &.{ | 446 | .skip_modules = &.{ |
| ... | @@ -454,7 +454,71 @@ const test_targets = blk: { | ... | @@ -454,7 +454,71 @@ const test_targets = blk: { |
| 454 | .target = std.Target.Query.parse(.{ | 454 | .target = std.Target.Query.parse(.{ |
| 455 | .arch_os_abi = "thumb-linux-musleabihf", | 455 | .arch_os_abi = "thumb-linux-musleabihf", |
| 456 | .cpu_features = "baseline+long_calls", | 456 | .cpu_features = "baseline+long_calls", |
| 457 | }) catch @panic("OOM"), | 457 | }) catch unreachable, |
| | 458 | .link_libc = true, |
| | 459 | .pic = false, // Long calls don't work with PIC. |
| | 460 | .skip_modules = &.{ |
| | 461 | "behavior", |
| | 462 | "c-import", |
| | 463 | "compiler-rt", |
| | 464 | "universal-libc", |
| | 465 | }, |
| | 466 | }, |
| | 467 | |
| | 468 | .{ |
| | 469 | .target = .{ |
| | 470 | .cpu_arch = .thumbeb, |
| | 471 | .os_tag = .linux, |
| | 472 | .abi = .eabi, |
| | 473 | }, |
| | 474 | }, |
| | 475 | .{ |
| | 476 | .target = .{ |
| | 477 | .cpu_arch = .thumbeb, |
| | 478 | .os_tag = .linux, |
| | 479 | .abi = .eabihf, |
| | 480 | }, |
| | 481 | }, |
| | 482 | .{ |
| | 483 | .target = .{ |
| | 484 | .cpu_arch = .thumbeb, |
| | 485 | .os_tag = .linux, |
| | 486 | .abi = .musleabi, |
| | 487 | }, |
| | 488 | .link_libc = true, |
| | 489 | .skip_modules = &.{"std"}, |
| | 490 | }, |
| | 491 | .{ |
| | 492 | .target = .{ |
| | 493 | .cpu_arch = .thumbeb, |
| | 494 | .os_tag = .linux, |
| | 495 | .abi = .musleabihf, |
| | 496 | }, |
| | 497 | .link_libc = true, |
| | 498 | .skip_modules = &.{"std"}, |
| | 499 | }, |
| | 500 | // Calls are normally lowered to branch instructions that only support +/- 16 MB range when |
| | 501 | // targeting Thumb. This is not sufficient for the std test binary linked statically with |
| | 502 | // musl, so use long calls to avoid out-of-range relocations. |
| | 503 | .{ |
| | 504 | .target = std.Target.Query.parse(.{ |
| | 505 | .arch_os_abi = "thumbeb-linux-musleabi", |
| | 506 | .cpu_features = "baseline+long_calls", |
| | 507 | }) catch unreachable, |
| | 508 | .link_libc = true, |
| | 509 | .pic = false, // Long calls don't work with PIC. |
| | 510 | .skip_modules = &.{ |
| | 511 | "behavior", |
| | 512 | "c-import", |
| | 513 | "compiler-rt", |
| | 514 | "universal-libc", |
| | 515 | }, |
| | 516 | }, |
| | 517 | .{ |
| | 518 | .target = std.Target.Query.parse(.{ |
| | 519 | .arch_os_abi = "thumbeb-linux-musleabihf", |
| | 520 | .cpu_features = "baseline+long_calls", |
| | 521 | }) catch unreachable, |
| 458 | .link_libc = true, | 522 | .link_libc = true, |
| 459 | .pic = false, // Long calls don't work with PIC. | 523 | .pic = false, // Long calls don't work with PIC. |
| 460 | .skip_modules = &.{ | 524 | .skip_modules = &.{ |