Module codegen_attrs

Source

Structs§

MixedExportNameAndNoMangleState 🔒

Functions§

autodiff_attrs 🔒
We now check the #[rustc_autodiff] attributes which we generated from the #[autodiff(…)] macros. There are two forms. The pure one without args to mark primal functions (the functions being differentiated). The other form is #[rustc_autodiff(Mode, ActivityList)] on top of the placeholder functions. We wrote the rustc_autodiff attributes ourself, so this should never panic, unless we introduced a bug when parsing the autodiff macro.
check_link_name_xor_ordinal 🔒
check_link_ordinal 🔒
check_tied_features
Given a map from target_features to whether they are enabled or disabled, ensure only valid combinations are allowed.
codegen_fn_attrs 🔒
linkage_by_name 🔒
provide 🔒
should_inherit_track_caller 🔒
Checks if the provided DefId is a method in a trait impl for a trait which has track_caller applied to the method prototype.