Skip to content

Commit 82fc4ec

Browse files
committed
Rustup to rustc 1.95.0-nightly (873d4682c 2026-01-25)
1 parent 3a3e5f5 commit 82fc4ec

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 116abc64add4d617104993a7a3011f20bcf31ef2 Mon Sep 17 00:00:00 2001
2+
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
3+
Date: Mon, 26 Jan 2026 16:20:58 +0000
4+
Subject: [PATCH] Ensure va_end doesn't get emitted unless VaList is actually
5+
used
6+
7+
---
8+
library/core/src/ffi/va_list.rs | 1 +
9+
1 file changed, 1 insertion(+)
10+
11+
diff --git a/library/core/src/ffi/va_list.rs b/library/core/src/ffi/va_list.rs
12+
index d0f1553..75129af 100644
13+
--- a/library/core/src/ffi/va_list.rs
14+
+++ b/library/core/src/ffi/va_list.rs
15+
@@ -217,6 +217,7 @@ impl Clone for VaList<'_> {
16+
}
17+
18+
impl<'f> Drop for VaList<'f> {
19+
+ #[inline]
20+
fn drop(&mut self) {
21+
// SAFETY: this variable argument list is being dropped, so won't be read from again.
22+
unsafe { va_end(self) }
23+
--
24+
2.43.0
25+

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2026-01-21"
2+
channel = "nightly-2026-01-26"
33
components = ["rust-src", "rustc-dev", "llvm-tools", "rustfmt"]
44
profile = "minimal"

0 commit comments

Comments
 (0)