rust/tests/ui/linkage-attr
jyn f1e5b365f0 port tests/ui/linkage-attr/framework to run-make
this makes it much easier to understand test failures.

before:
```
diff of stderr:

1 error: linking with `LINKER` failed: exit status: 1
2    |
-            ld: Undefined symbols:
4              _CFRunLoopGetTypeID, referenced from:
5            clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

after:
```
=== HAYSTACK ===
error: linking with `cc` failed: exit status: 1
  |
  = note: use `--verbose` to show all linker arguments
  = note: Undefined symbols for architecture arm64:
            "_CFRunLoopGetTypeID", referenced from:
                main::main::hbb553f5dda62d3ea in main.main.d17f5fbe6225cf88-cgu.0.rcgu.o
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to 1 previous error

=== NEEDLE ===
_CFRunLoopGetTypeID\.?, referenced from:
thread 'main' panicked at /Users/jyn/git/rust-lang/rust/tests/run-make/linkage-attr-framework/rmake.rs:22:10:
needle was not found in haystack
```

this also fixes a failure related to missing whitespace; we don't actually care about whitespace in this test.
2024-10-27 21:23:28 -04:00
..
auxiliary
propagate-generic-issue-18804
common-linkage-non-zero-init.rs
common-linkage-non-zero-init.stderr
incompatible-flavor.rs
incompatible-flavor.stderr
issue-10755.rs
issue-12133-1.rs
issue-12133-2.rs
issue-12133-3.rs
issue-109144.rs
issue-109144.stderr
kind-framework.rs
kind-framework.stderr
link-attr-validation-early.rs
link-attr-validation-early.stderr
link-attr-validation-late.rs
link-attr-validation-late.stderr
link-cfg-works.rs
link-self-contained-consistency.many.stderr
link-self-contained-consistency.one.stderr
link-self-contained-consistency.rs
linkage1.rs
linkage2.rs
linkage2.stderr
linkage3.rs
linkage3.stderr
linkage4.rs
linkage4.stderr
linkage-attr-does-not-panic-llvm-issue-33992.rs
linkage-attr-mutable-static.rs
linkage-attr-mutable-static.stderr
linkage-detect-extern-generated-name-collision.rs
linkage-detect-extern-generated-name-collision.stderr
linkage-detect-local-generated-name-collision.rs
linkage-detect-local-generated-name-collision.stderr
linkage-import.rs
uikit-framework.rs
unreferenced-used-static-issue-127052.rs
unstable-flavor.bpf.stderr
unstable-flavor.ptx.stderr
unstable-flavor.rs