rust/tests
Matthias Krüger 50237b33d6
Rollup merge of #149268 - davidtwco:v0-mangling-global-asm-namespace, r=Kivooeo
add implementation-internal namespace for globalasm

Fixes rust-lang/rust#138261

Adds a namespace for `global_asm` with a lowercase letter which [is reserved for implementation-internal disambiguation](https://doc.rust-lang.org/rustc/symbol-mangling/v0.html#namespace:~:text=Lowercase%20letters%20are%20reserved%20for%20implementation%2Dinternal%20disambiguation%20categories%20(and%20demanglers%20should%20never%20show%20them)):

> Lowercase letters are reserved for implementation-internal disambiguation categories (and demanglers should never show them)

As a implementation-internal disambiguation category, the demangler implementations shouldn't need updated (i.e. if this were an uppercase letter, then our mangle-then-demangle checks would fail because the demangler would expect to have explicit handling). `'a'` is chosen arbitrarily, for **a**sm, but I can change it to something else if preferred.

`#[rustc_symbol_name]` only looks at top-level items, and would need a bunch of changes to be able to check the symbol for `foo::{constant}::{closure}` in the `global_asm` in this test, so for now the test just checks this compiles.

The alternative to this would be to prohibit declaration of items in the operand of a `global_asm`, which is a breaking change.
2025-11-25 17:51:16 +01:00
..
assembly-llvm Rollup merge of #147173 - androm3da:bcain/hexagon_qurt, r=davidtwco,tgross35 2025-11-20 11:15:51 +01:00
auxiliary Rollup merge of #147521 - sayantn:simd-const-intrinsics, r=madsmtm 2025-11-19 09:48:07 +01:00
codegen-llvm Auto merge of #147827 - saethlin:maybeuninit-codegen2, r=scottmcm 2025-11-23 17:09:07 +00:00
codegen-units Document fmt::Arguments internal representation. 2025-11-12 12:48:39 +01:00
coverage Bless coverage tests. 2025-11-12 12:48:45 +01:00
coverage-run-rustdoc
crashes Replace OffsetOf by an actual sum. 2025-11-18 00:10:03 +00:00
debuginfo update tests 2025-11-24 00:17:53 -06:00
incremental Bless tests. 2025-11-12 12:48:27 +01:00
mir-opt Auto merge of #147827 - saethlin:maybeuninit-codegen2, r=scottmcm 2025-11-23 17:09:07 +00:00
pretty Document fmt::Arguments internal representation. 2025-11-12 12:48:39 +01:00
run-make Rollup merge of #148234 - notriddle:doc-cci, r=GuillaumeGomez 2025-11-24 19:10:43 +01:00
run-make-cargo Skip the panic-immediate-abort-works test when cross-compiling 2025-09-22 21:13:38 -04:00
rustdoc Add test for href of reexported enum variant 2025-11-18 12:23:32 +01:00
rustdoc-gui rustdoc-search: add test case for throbber 2025-10-07 12:59:58 -07:00
rustdoc-js Rollup merge of #147701 - lolbinarycat:rustdoc-search-alias-fix, r=GuillaumeGomez 2025-11-13 11:57:07 +11:00
rustdoc-js-std Add regression test for including derive macros in macro filtering 2025-10-27 16:00:32 +01:00
rustdoc-json
rustdoc-ui Rollup merge of #149197 - lolbinarycat:rustdoc-bad-render-attr, r=GuillaumeGomez 2025-11-23 16:28:13 -05:00
ui Rollup merge of #149268 - davidtwco:v0-mangling-global-asm-namespace, r=Kivooeo 2025-11-25 17:51:16 +01:00
ui-fulldeps When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
COMPILER_TESTS.md