File tree 3 files changed +17
-6
lines changed
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> {
886
886
// things still build right, please do!
887
887
match mode {
888
888
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
+ _ => { }
890
901
}
891
902
cargo. env ( "__CARGO_DEFAULT_LIB_METADATA" , & metadata) ;
892
903
Original file line number Diff line number Diff line change 45
45
#
46
46
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
47
47
# either automatically or manually.
48
- export RUST_RELEASE_CHANNEL=nightly
48
+ export RUST_RELEASE_CHANNEL=beta
49
49
if [ " $DEPLOY$DEPLOY_ALT " = " 1" ]; then
50
50
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL "
51
51
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
Original file line number Diff line number Diff line change 12
12
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
13
13
# `0.x.0` for Cargo where they were released on `date`.
14
14
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
18
18
19
19
# When making a stable release the process currently looks like:
20
20
#
@@ -34,4 +34,4 @@ cargo: beta
34
34
# looking at a beta source tarball and it's uncommented we'll shortly comment it
35
35
# out.
36
36
37
- # dev: 1
37
+ dev: 1
You can’t perform that action at this time.
0 commit comments