We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4dee6 commit fb06f5eCopy full SHA for fb06f5e
1 file changed
compiler/rustc_target/src/spec/mod.rs
@@ -2918,8 +2918,8 @@ impl Target {
2918
);
2919
check_eq!(
2920
self.is_like_gpu,
2921
- self.arch == Arch::Nvptx64 || self.arch == Arch::AmdGpu,
2922
- "`is_like_gpu` must be set if and only if `target` is `nvptx64` or `amdgcn`"
+ self.arch == Arch::Nvptx64 || self.arch == Arch::AmdGpu || self.arch == Arch::SpirV,
+ "`is_like_gpu` must be set if and only if `target` is `nvptx64` or `amdgcn` or `spirv`"
2923
2924
2925
self.is_like_windows,
0 commit comments