| ... | ... | @@ -501,11 +501,8 @@ pub const Target = struct { |
| 501 | 501 | |
| 502 | 502 | /// Removes the specified feature but not its dependents. |
| 503 | 503 | pub fn removeFeatureSet(set: *Set, other_set: Set) void { |
| 504 | | // TODO should be able to use binary not on @Vector type. |
| 505 | | // https://github.com/ziglang/zig/issues/903 |
| 506 | | for (set.ints) |*int, i| { |
| 507 | | int.* &= ~other_set.ints[i]; |
| 508 | | } |
| 504 | set.ints = @as(@Vector(usize_count, usize), set.ints) & |
| 505 | ~@as(@Vector(usize_count, usize), other_set.ints); |
| 509 | 506 | } |
| 510 | 507 | |
| 511 | 508 | pub fn populateDependencies(set: *Set, all_features_list: []const Cpu.Feature) void { |