Skip to content

Commit a5df8df

Browse files
committed
fixup
1 parent 34eae40 commit a5df8df

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2663,7 +2663,7 @@ impl Target {
26632663
);
26642664
check_eq!(
26652665
self.is_like_gpu,
2666-
self.os == "nvptx64" || self.os == "amdgcn",
2666+
self.arch == "nvptx64" || self.arch == "amdgpu",
26672667
"`is_like_gpu` must be set if and only if `target` is `nvptx64` or `amdgcn`"
26682668
);
26692669
check_eq!(

0 commit comments

Comments
 (0)