Skip to content

Commit af2579c

Browse files
committed
rebase
1 parent 3bb69a1 commit af2579c

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.arch == "nvptx64" || self.arch == "amdgpu",
2756+
self.arch == Arch::Nvptx64 || self.arch == 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)