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.