Function addFeatureSet [src]
Adds the specified feature set but not its dependencies.
Prototype
pub fn addFeatureSet(set: *Set, other_set: Set) void
Parameters
set: *Set
other_set: Set
Source
pub fn addFeatureSet(set: *Set, other_set: Set) void {
if (builtin.zig_backend == .stage2_x86_64 and builtin.object_format == .coff) {
for (&set.ints, other_set.ints) |*set_int, other_set_int| set_int.* |= other_set_int;
} else {
set.ints = @as(@Vector(usize_count, usize), set.ints) | @as(@Vector(usize_count, usize), other_set.ints);
}
}