rust/compiler/rustc_attr_data_structures/src
Matthias Krüger 1b437d78e3
Rollup merge of #144050 - JonathanBrouwer:cross-crate-reexport, r=jdonszelmann
Fix encoding of link_section and no_mangle cross crate

Fixes https://github.com/rust-lang/rust/issues/144004

``@bjorn3`` suggested using the `codegen_fn_attrs` query but given that these attributes are not that common it's probably fine to just always encode them. I can also go for that solution if it is preferred but that would require more changes.

r? ``@jdonszelmann`` ``@fmease`` (whoever feels like it)
2025-07-18 19:14:46 +02:00
..
attributes.rs Rollup merge of #143891 - scrabsha:push-xxtttopqoprr, r=jdonszelmann 2025-07-18 04:27:52 +02:00
encode_cross_crate.rs Rollup merge of #144050 - JonathanBrouwer:cross-crate-reexport, r=jdonszelmann 2025-07-18 19:14:46 +02:00
lib.rs Port #[rustc_layout_scalar_valid_range_start/end] to the new attribute parsing infrastructure 2025-06-27 09:08:21 +02:00
lints.rs Rewrite empty attribute lint 2025-07-06 09:51:35 +02:00
stability.rs Tracking the old name of renamed unstable library attribute 2025-06-12 19:24:11 +08:00
version.rs Make #[cfg(version)] respect RUSTC_OVERRIDE_VERSION_STRING 2025-05-24 23:54:17 +02:00