rust/compiler/rustc_passes/src
bors 8e62bfd311 Auto merge of #144678 - jdonszelmann:no-mangle-extern, r=bjorn3
Make no_mangle on foreign items explicit instead of implicit

for a followup PR I'm working on I need some foreign items to mangle. I could add a new attribute: `no_no_mangle` or something silly like that but by explicitly putting `no_mangle` in the codegen fn attrs of foreign items we can default it to `no_mangle` and then easily remove it when we don't want it.

I guess you'd know about this r? `@bjorn3.` Shouldn't be too hard to review :)

Builds on rust-lang/rust#144655 which should merge first.
2025-08-12 16:20:24 +00:00
..
liveness use div_ceil instead of manual logic 2025-07-05 10:55:42 +02:00
abi_test.rs Generalize TyCtxt::item_name. 2025-07-13 13:50:00 +00:00
check_attr.rs Auto merge of #144678 - jdonszelmann:no-mangle-extern, r=bjorn3 2025-08-12 16:20:24 +00:00
check_export.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
dead.rs Auto merge of #144678 - jdonszelmann:no-mangle-extern, r=bjorn3 2025-08-12 16:20:24 +00:00
debugger_visualizer.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
diagnostic_items.rs Implement lint against direct uses of rustc_type_ir in compiler crates 2025-06-18 16:01:41 +02:00
entry.rs use slice::contains where applicable 2025-03-28 12:21:21 +00:00
errors.rs Port #[allow_internal_unsafe] to the new attribute system (attempt 2) 2025-08-11 15:01:52 +02:00
hir_id_validator.rs Adjust Map's to_string functionality. 2025-03-12 08:30:03 +11:00
input_stats.rs remove P 2025-08-09 15:47:01 +08:00
lang_items.rs Specify of_trait in Target::Impl. 2025-07-17 22:21:21 +00:00
layout_test.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
lib.rs Simplify maybe_record_as_seed. 2025-08-04 23:00:45 +00:00
lib_features.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
liveness.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
reachable.rs make no_mangle explicit on foreign items 2025-08-12 12:07:14 +02:00
stability.rs Propagate TraitImplHeader to hir 2025-08-11 17:05:42 -05:00
upvars.rs use let chains in mir, resolve, target 2025-07-28 06:10:36 +05:00
weak_lang_items.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00