File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
4949if [ " $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"
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments