| ... | @@ -3056,7 +3056,7 @@ pub const ClangArgIterator = struct { | ... | @@ -3056,7 +3056,7 @@ pub const ClangArgIterator = struct { |
| 3056 | arg = mem.span(self.argv[self.next_index]); | 3056 | arg = mem.span(self.argv[self.next_index]); |
| 3057 | self.incrementArgIndex(); | 3057 | self.incrementArgIndex(); |
| 3058 | } | 3058 | } |
| 3059 | if (!mem.startsWith(u8, arg, "-")) { | 3059 | if (mem.eql(u8, arg, "-") or !mem.startsWith(u8, arg, "-")) { |
| 3060 | self.zig_equivalent = .positional; | 3060 | self.zig_equivalent = .positional; |
| 3061 | self.only_arg = arg; | 3061 | self.only_arg = arg; |
| 3062 | return; | 3062 | return; |