Skip to main content

Module multi_target

Module multi_target 

Source
Expand description

Merging multiple CrateDatas from different compilation targets into one.

Structsยง

CrateMerger ๐Ÿ”’
IdRefMapperVisitor ๐Ÿ”’
Visitor that remaps references to the given items.
ItemDeduplicator ๐Ÿ”’
Orchestrates deduplication of items across compilation targets.
TargetGroup ๐Ÿ”’
A set of items that share the same base name and item kind. These are candidates for merging into a single cross-target item.
TargetGroupId

Enumsยง

MergeDecision ๐Ÿ”’
How a TargetGroup should be merged.

Functionsยง

merge
Merge per-target CrateDatas into a single CrateData.
normalize_item ๐Ÿ”’
Normalize an item for cross-target comparison.
normalize_name_for_grouping ๐Ÿ”’
Normalize a name for grouping across targets; returns the target.