| ... | @@ -1157,7 +1157,7 @@ pub const Target = struct { | ... | @@ -1157,7 +1157,7 @@ pub const Target = struct { |
| 1157 | }; | 1157 | }; |
| 1158 | } | 1158 | } |
| 1159 | | 1159 | |
| 1160 | /// Returns whether this architecture supporst the address space | 1160 | /// Returns whether this architecture supports the address space |
| 1161 | pub fn supportsAddressSpace(arch: Arch, address_space: std.builtin.AddressSpace) bool { | 1161 | pub fn supportsAddressSpace(arch: Arch, address_space: std.builtin.AddressSpace) bool { |
| 1162 | const is_nvptx = arch == .nvptx or arch == .nvptx64; | 1162 | const is_nvptx = arch == .nvptx or arch == .nvptx64; |
| 1163 | return switch (address_space) { | 1163 | return switch (address_space) { |