Skip to content

Commit 87374d8

Browse files
committed
Rustup to rustc 1.72.0-nightly (2d0aa57 2023-06-18)
1 parent 361a1ea commit 87374d8

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

example/mini_core.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,9 @@ impl<T> Box<T> {
547547
impl<T: ?Sized, A> Drop for Box<T, A> {
548548
fn drop(&mut self) {
549549
// inner value is dropped by compiler
550-
libc::free(self.0.pointer.0 as *mut u8);
550+
unsafe {
551+
libc::free(self.0.pointer.0 as *mut u8);
552+
}
551553
}
552554
}
553555

patches/stdlib-lock.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ dependencies = [
3434
"rand_xorshift",
3535
]
3636

37+
[[package]]
38+
name = "allocator-api2"
39+
version = "0.2.15"
40+
source = "registry+https://github.com/rust-lang/crates.io-index"
41+
checksum = "56fc6cf8dc8c4158eed8649f9b8b0ea1518eb62b544fe9490d66fa0b349eafe9"
42+
3743
[[package]]
3844
name = "auxv"
3945
version = "0.3.3"
@@ -145,10 +151,11 @@ dependencies = [
145151

146152
[[package]]
147153
name = "hashbrown"
148-
version = "0.13.2"
154+
version = "0.14.0"
149155
source = "registry+https://github.com/rust-lang/crates.io-index"
150-
checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
156+
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
151157
dependencies = [
158+
"allocator-api2",
152159
"compiler_builtins",
153160
"rustc-std-workspace-alloc",
154161
"rustc-std-workspace-core",

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-2023-06-15"
2+
channel = "nightly-2023-06-19"
33
components = ["rust-src", "rustc-dev", "llvm-tools"]

0 commit comments

Comments
 (0)