Skip to content

Commit 76b4053

Browse files
committed
Auto merge of #66108 - pietroalbini:beta-next, r=Mark-Simulacrum
Prepare beta 1.40.0 cc @Mark-Simulacrum
2 parents d2185f6 + 73369f3 commit 76b4053

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

src/bootstrap/builder.rs

+12-1
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,18 @@ impl<'a> Builder<'a> {
886886
// things still build right, please do!
887887
match mode {
888888
Mode::Std => metadata.push_str("std"),
889-
_ => {},
889+
// When we're building rustc tools, they're built with a search path
890+
// that contains things built during the rustc build. For example,
891+
// bitflags is built during the rustc build, and is a dependency of
892+
// rustdoc as well. We're building rustdoc in a different target
893+
// directory, though, which means that Cargo will rebuild the
894+
// dependency. When we go on to build rustdoc, we'll look for
895+
// bitflags, and find two different copies: one built during the
896+
// rustc step and one that we just built. This isn't always a
897+
// problem, somehow -- not really clear why -- but we know that this
898+
// fixes things.
899+
Mode::ToolRustc => metadata.push_str("tool-rustc"),
900+
_ => {}
890901
}
891902
cargo.env("__CARGO_DEFAULT_LIB_METADATA", &metadata);
892903

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545
#
4646
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
4747
# either automatically or manually.
48-
export RUST_RELEASE_CHANNEL=nightly
48+
export RUST_RELEASE_CHANNEL=beta
4949
if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
5050
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL"
5151
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"

src/stage0.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
1313
# `0.x.0` for Cargo where they were released on `date`.
1414

15-
date: 2019-09-25
16-
rustc: beta
17-
cargo: beta
15+
date: 2019-11-04
16+
rustc: 1.39.0
17+
cargo: 0.40.0
1818

1919
# When making a stable release the process currently looks like:
2020
#
@@ -34,4 +34,4 @@ cargo: beta
3434
# looking at a beta source tarball and it's uncommented we'll shortly comment it
3535
# out.
3636

37-
#dev: 1
37+
dev: 1

0 commit comments

Comments
 (0)