Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 87bbc2d

Browse files
committed
Rustup to rustc 1.65.0-nightly (59e7a30 2022-09-11)
1 parent 3afa1d6 commit 87bbc2d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build_sysroot/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2022-09-04"
2+
channel = "nightly-2022-09-12"
33
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]

src/intrinsics/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,8 @@ fn codegen_regular_intrinsic_call<'tcx>(
813813
sym::ptr_guaranteed_cmp => {
814814
intrinsic_args!(fx, args => (a, b); intrinsic);
815815

816-
let val = crate::num::codegen_ptr_binop(fx, BinOp::Eq, a, b);
817-
ret.write_cvalue(fx, val);
816+
let val = crate::num::codegen_ptr_binop(fx, BinOp::Eq, a, b).load_scalar(fx);
817+
ret.write_cvalue(fx, CValue::by_val(val, fx.layout_of(fx.tcx.types.u8)));
818818
}
819819

820820
sym::caller_location => {

0 commit comments

Comments
 (0)