Skip to content

Commit f3e529a

Browse files
committed
---
yaml --- r: 273011 b: refs/heads/beta c: 16fefc5 h: refs/heads/master i: 273009: dcb40af 273007: d01145c
1 parent 00b4540 commit f3e529a

File tree

6 files changed

+6
-14
lines changed

6 files changed

+6
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: defd1b3392df2434ae67e0885cba16cdb9a2d5b4
26+
refs/heads/beta: 16fefc5ead7d3338acf80f225f0f256a286345c5
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/bootstrap/build/compile.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,10 @@ pub fn rustc<'a>(build: &'a Build, stage: u32, target: &str,
141141

142142
let mut cargo = build.cargo(stage, compiler, Mode::Librustc, Some(target),
143143
"build");
144-
cargo.arg("--features").arg(build.rustc_features(stage))
144+
cargo.arg("--features").arg(build.rustc_features())
145145
.arg("--manifest-path")
146146
.arg(build.src.join("src/rustc/Cargo.toml"));
147147

148-
// In stage0 we may not need to build as many executables
149-
if stage == 0 {
150-
cargo.arg("--bin").arg("rustc");
151-
}
152-
153148
// Set some configuration variables picked up by build scripts and
154149
// the compiler alike
155150
cargo.env("CFG_RELEASE", &build.release)

branches/beta/src/bootstrap/build/doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub fn rustc(build: &Build, stage: u32, host: &str, out: &Path) {
135135
"doc");
136136
cargo.arg("--manifest-path")
137137
.arg(build.src.join("src/rustc/Cargo.toml"))
138-
.arg("--features").arg(build.rustc_features(stage));
138+
.arg("--features").arg(build.rustc_features());
139139
build.run(&mut cargo);
140140
cp_r(&out_dir, out)
141141
}

branches/beta/src/bootstrap/build/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,14 +379,11 @@ impl Build {
379379
}
380380

381381
/// Get the space-separated set of activated features for the compiler.
382-
fn rustc_features(&self, stage: u32) -> String {
382+
fn rustc_features(&self) -> String {
383383
let mut features = String::new();
384384
if self.config.use_jemalloc {
385385
features.push_str(" jemalloc");
386386
}
387-
if stage > 0 {
388-
features.push_str(" rustdoc");
389-
}
390387
return features
391388
}
392389

branches/beta/src/librustdoc/html/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ impl<'a> Item<'a> {
14541454
// has anchors for the line numbers that we're linking to.
14551455
} else if self.item.def_id.is_local() {
14561456
self.cx.local_sources.get(&PathBuf::from(&self.item.source.filename)).map(|path| {
1457-
format!("{root}src/{krate}/{path}.html#{href}",
1457+
format!("{root}src/{krate}/{path}#{href}",
14581458
root = self.cx.root_path,
14591459
krate = self.cx.layout.krate,
14601460
path = path,

branches/beta/src/rustc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ debug-assertions = false
2525
[dependencies]
2626
rustc_back = { path = "../librustc_back" }
2727
rustc_driver = { path = "../librustc_driver" }
28-
rustdoc = { path = "../librustdoc", optional = true }
28+
rustdoc = { path = "../librustdoc" }
2929

3030
[features]
3131
jemalloc = ["rustc_back/jemalloc"]

0 commit comments

Comments
 (0)