Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/rust/bootstrap.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
change-id = 142379
change-id = 154587

[build]
# When compiling from source, you almost always want a full stage 2 build,
Expand All @@ -8,8 +8,6 @@ test-stage = 2
doc-stage = 2
# When compiling from source, you usually want all tools.
extended = true
# Use libtest built from the source tree instead of the precompiled one from stage 0.
compiletest-use-stage0-libtest = false

docs = false

Expand All @@ -19,6 +17,10 @@ link-shared = true
[rust]
channel = "stable"
download-rustc = false
# Load-bearing beyond just "don't build lld": since rust#147157, an unset `lld`
# makes x86_64-unknown-linux-gnu default to the self-contained rust-lld linker.
# Explicit `false` opts that target back out, so built binaries keep linking
# through cc rather than a rust-lld we don't ship.
lld = false
llvm-bitcode-linker = false

Expand Down
4 changes: 2 additions & 2 deletions packages/rust/build.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ let libffi = import "../libffi/build.ncl" in
let toolchain = import "../toolchain/build.ncl" in
let gcc = import "../gcc/build.ncl" in

let version = "1.95.0" in
let version = "1.97.1" in
{
name = "rust",
build_deps = [
{ file = "bootstrap.toml" } | Local,
{ file = "build.sh" } | Local,
{
url = "gs://minimal-staging-archives/rustc-%{version}-src.tar.xz",
sha256 = "62b67230754da642a264ca0cb9fc08820c54e2ed7b3baba0289876d4cdb48c08",
sha256 = "0ed06fdaffd4722a7702e0b4eebfafc897ab8f513e8e1b247cdd7e5c6df6ded2",
extract = true,
strip_prefix = "rustc-%{version}-src",
} | Source,
Expand Down