Skip to content

Commit

Permalink
upgrade rust-toolchain to nightly-2022-10-25
Browse files Browse the repository at this point in the history
  • Loading branch information
bungcip committed Mar 25, 2023
1 parent 7184bcb commit e973fb3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dynamic_instrumentation/src/point/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub fn cast_ptr_to_usize<'tcx>(
source_info: SourceInfo::outermost(DUMMY_SP),
kind: StatementKind::Assign(Box::new((
casted_local.into(),
Rvalue::Cast(CastKind::Misc, ptr, thin_raw_ptr_ty),
Rvalue::Cast(CastKind::PtrToPtr, ptr, thin_raw_ptr_ty),
))),
};
new_stmts.push(cast_stmt);
Expand Down
2 changes: 1 addition & 1 deletion examples/robotfindskitten/repo/rust/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2022-08-25"
channel = "nightly-2022-10-25"
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2022-09-25"
channel = "nightly-2022-10-25"
components = ["rustfmt-preview", "rustc-dev", "rust-src", "miri"]

0 comments on commit e973fb3

Please sign in to comment.