Skip to content

Commit 3bb69a1

Browse files
committed
fixup
1 parent 96f36d3 commit 3bb69a1

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
@@ -2753,7 +2753,7 @@ impl Target {
27532753
);
27542754
check_eq!(
27552755
self.is_like_gpu,
2756-
self.os == "nvptx64" || self.os == "amdgcn",
2756+
self.arch == "nvptx64" || self.arch == "amdgpu",
27572757
"`is_like_gpu` must be set if and only if `target` is `nvptx64` or `amdgcn`"
27582758
);
27592759
check_eq!(

0 commit comments

Comments
 (0)