Function removeFeatureSet [src]
Removes the specified feature but not its dependents.
Prototype
pub fn removeFeatureSet(set: *Set, other_set: Set) void
Parameters
set: *Set
other_set: Set
Source
pub fn removeFeatureSet(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);
}
}