Function standardTargetOptions [src]
Exposes standard zig build options for choosing a target and additionally
resolves the target query.
Prototype
pub fn standardTargetOptions(b: *Build, args: StandardTargetOptionsArgs) ResolvedTarget
Parameters
b: *Build
args: StandardTargetOptionsArgs
Source
pub fn standardTargetOptions(b: *Build, args: StandardTargetOptionsArgs) ResolvedTarget {
const query = b.standardTargetOptionsQueryOnly(args);
return b.resolveTargetQuery(query);
}