Skip to content

Commit 9491031

Browse files
committed
Rustup to rustc 1.69.0-nightly (0416b1a6f 2023-02-14)
1 parent afcdf57 commit 9491031

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

build_sysroot/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ alloc = { path = "./sysroot_src/library/alloc" }
88
std = { path = "./sysroot_src/library/std", features = ["panic_unwind", "backtrace"] }
99
test = { path = "./sysroot_src/library/test" }
1010

11-
compiler_builtins = { version = "0.1.39", default-features = false, features = ["no-asm"] }
11+
# FIXME allow 0.1.87 and later once #1353 is fixed
12+
compiler_builtins = { version = "=0.1.86", default-features = false, features = ["no-asm"] }
1213

1314
[patch.crates-io]
1415
rustc-std-workspace-core = { path = "./sysroot_src/library/rustc-std-workspace-core" }

build_system/build_sysroot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ fn build_clif_sysroot_for_triple(
247247
if channel == "release" {
248248
build_cmd.arg("--release");
249249
}
250+
build_cmd.arg("--locked");
250251
build_cmd.env("__CARGO_DEFAULT_LIB_METADATA", "cg_clif");
251252
if compiler.triple.contains("apple") {
252253
build_cmd.env("CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO", "packed");
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From ff23f6113098987318b674088b924e22750be18c Mon Sep 17 00:00:00 2001
2+
From: bjorn3 <[email protected]>
3+
Date: Fri, 17 Feb 2023 18:37:48 +0100
4+
Subject: [PATCH] Downgrade compiler-builtins to 0.1.86
5+
6+
0.1.87 doesn't work on Windows when using cg_clif
7+
---
8+
library/std/Cargo.toml | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
12+
index 349cd91..300f812 100644
13+
--- a/library/std/Cargo.toml
14+
+++ b/library/std/Cargo.toml
15+
@@ -16,7 +16,7 @@ panic_unwind = { path = "../panic_unwind", optional = true }
16+
panic_abort = { path = "../panic_abort" }
17+
core = { path = "../core" }
18+
libc = { version = "0.2.138", default-features = false, features = ['rustc-dep-of-std'] }
19+
-compiler_builtins = { version = "0.1.87" }
20+
+compiler_builtins = { version = "0.1.86" }
21+
profiler_builtins = { path = "../profiler_builtins", optional = true }
22+
unwind = { path = "../unwind" }
23+
hashbrown = { version = "0.12", default-features = false, features = ['rustc-dep-of-std'] }
24+
--
25+
2.26.2.7.g19db9cfb68
26+

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

0 commit comments

Comments
 (0)