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 34eae40 commit a5df8dfCopy full SHA for a5df8df
1 file changed
compiler/rustc_target/src/spec/mod.rs
@@ -2663,7 +2663,7 @@ impl Target {
2663
);
2664
check_eq!(
2665
self.is_like_gpu,
2666
- self.os == "nvptx64" || self.os == "amdgcn",
+ self.arch == "nvptx64" || self.arch == "amdgpu",
2667
"`is_like_gpu` must be set if and only if `target` is `nvptx64` or `amdgcn`"
2668
2669
0 commit comments