fn detect(cross_target: CrossTarget) DetectError!NativeTargetInfo

Given a CrossTarget, which specifies in detail which parts of the target should be detected natively, which should be standard or default, and which are provided explicitly, this function resolves the native components by detecting the native system, and then resolves standard/default parts relative to that.

Parameters

cross_target: CrossTarget,