Skip to main content

lookup

Function lookup 

Source
pub fn lookup(target: &TargetTuple) -> Option<&'static TargetEntry>
Expand description

Find the table row for a target, by canonical spelling.

Takes a parsed tuple rather than a string so that x86_64-unknown-linux-gnu and x86_64-linux-gnu find the same row. That is the reason canonicalization exists.