Skip to main content

Module graph

Module graph 

Source
Expand description

The dependency graph records both what is included and why.

Structs§

DependencyGraph
Digest
Edge
Node

Enums§

DependencyReason
NodeKind

Constants§

DIGEST_LEN_HEX
Length of a SHA-256 digest in lowercase hexadecimal.
EDGES_MAX
Upper bound on edges. Every edge is one DT_NEEDED, PT_INTERP or policy reason, so this allows an average of 64 dependencies per object.
NODES_MAX
Upper bound on the objects in one runtime closure.

Type Aliases§

NodeId
Index of a node in DependencyGraph::nodes.