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 96f36d3 commit 3bb69a1Copy full SHA for 3bb69a1
1 file changed
compiler/rustc_target/src/spec/mod.rs
@@ -2753,7 +2753,7 @@ impl Target {
2753
);
2754
check_eq!(
2755
self.is_like_gpu,
2756
- self.os == "nvptx64" || self.os == "amdgcn",
+ self.arch == "nvptx64" || self.arch == "amdgpu",
2757
"`is_like_gpu` must be set if and only if `target` is `nvptx64` or `amdgcn`"
2758
2759
0 commit comments