Rustup to rustc 1.65.0-nightly (59e7a308e 2022-09-11)

This commit is contained in:
bjorn3 2022-09-12 12:28:14 +02:00
parent 3afa1d6f32
commit 87bbc2d413
3 changed files with 5 additions and 5 deletions

View File

@ -123,9 +123,9 @@ dependencies = [
[[package]]
name = "hermit-abi"
version = "0.2.5"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "897cd85af6387be149f55acf168e41be176a02de7872403aaab184afc2f327e6"
checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
dependencies = [
"compiler_builtins",
"libc",

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2022-09-04"
channel = "nightly-2022-09-12"
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]

View File

@ -813,8 +813,8 @@ fn codegen_regular_intrinsic_call<'tcx>(
sym::ptr_guaranteed_cmp => {
intrinsic_args!(fx, args => (a, b); intrinsic);
let val = crate::num::codegen_ptr_binop(fx, BinOp::Eq, a, b);
ret.write_cvalue(fx, val);
let val = crate::num::codegen_ptr_binop(fx, BinOp::Eq, a, b).load_scalar(fx);
ret.write_cvalue(fx, CValue::by_val(val, fx.layout_of(fx.tcx.types.u8)));
}
sym::caller_location => {