This commit is contained in:
Robin Voetter 2022-10-12 20:38:43 +02:00
parent e90a42a808
commit 9ff60e356e
No known key found for this signature in database
GPG Key ID: E755662F227CB468

View File

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