updateCpuFeatures
Function parameters
Parameters
- set:*Target.Cpu.Feature.Set
- all_features_list:[]const Target.Cpu.Feature
- add_set:Target.Cpu.Feature.Set
- sub_set:Target.Cpu.Feature.Set
Type definitions in this namespace
Types
Return whether or not the given host is capable of running executables of
Functions
- getExternalExecutor
- Return whether or not the given host is capable of running executables of
- resolveTargetQuery
- Given a `Target.Query`, which specifies in detail which parts of the
Error sets in this namespace
Error Sets
Source
Implementation
fn updateCpuFeatures(
set: *Target.Cpu.Feature.Set,
all_features_list: []const Target.Cpu.Feature,
add_set: Target.Cpu.Feature.Set,
sub_set: Target.Cpu.Feature.Set,
) void {
set.removeFeatureSet(sub_set);
set.addFeatureSet(add_set);
set.populateDependencies(all_features_list);
set.removeFeatureSet(sub_set);
}