Skip to content

Commit c08480f

Browse files
committed
Auto merge of #49308 - alexcrichton:rollup, r=alexcrichton
Rollup of 15 pull requests - Successful merges: #48265, #48528, #48552, #48624, #48883, #48909, #49028, #49030, #49102, #49160, #49169, #49203, #49262, #49272, #49295 - Failed merges: #48942, #49035
2 parents 55e1104 + 0e6cd8b commit c08480f

File tree

709 files changed

+3062
-623
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

709 files changed

+3062
-623
lines changed

src/bootstrap/builder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ impl<'a> Builder<'a> {
313313
test::RunPassFullDepsPretty, test::RunFailFullDepsPretty,
314314
test::Crate, test::CrateLibrustc, test::CrateRustdoc, test::Linkcheck,
315315
test::Cargotest, test::Cargo, test::Rls, test::ErrorIndex, test::Distcheck,
316+
test::RunMakeFullDeps,
316317
test::Nomicon, test::Reference, test::RustdocBook, test::RustByExample,
317318
test::TheBook, test::UnstableBook,
318319
test::Rustfmt, test::Miri, test::Clippy, test::RustdocJS, test::RustdocTheme,

src/bootstrap/compile.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ impl Step for Assemble {
915915
}
916916
}
917917

918-
let lld_install = if build.config.lld_enabled && target_compiler.stage > 0 {
918+
let lld_install = if build.config.lld_enabled {
919919
Some(builder.ensure(native::Lld {
920920
target: target_compiler.host,
921921
}))

src/bootstrap/test.rs

+12-7
Original file line numberDiff line numberDiff line change
@@ -759,12 +759,18 @@ test!(RunFailFullDepsPretty {
759759
host: true
760760
});
761761

762-
host_test!(RunMake {
762+
default_test!(RunMake {
763763
path: "src/test/run-make",
764764
mode: "run-make",
765765
suite: "run-make"
766766
});
767767

768+
host_test!(RunMakeFullDeps {
769+
path: "src/test/run-make-fulldeps",
770+
mode: "run-make",
771+
suite: "run-make-fulldeps"
772+
});
773+
768774
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
769775
struct Compiletest {
770776
compiler: Compiler,
@@ -827,8 +833,7 @@ impl Step for Compiletest {
827833
// FIXME: Does pretty need librustc compiled? Note that there are
828834
// fulldeps test suites with mode = pretty as well.
829835
mode == "pretty" ||
830-
mode == "rustdoc" ||
831-
mode == "run-make" {
836+
mode == "rustdoc" {
832837
builder.ensure(compile::Rustc { compiler, target });
833838
}
834839

@@ -849,7 +854,7 @@ impl Step for Compiletest {
849854
cmd.arg("--rustc-path").arg(builder.rustc(compiler));
850855

851856
// Avoid depending on rustdoc when we don't need it.
852-
if mode == "rustdoc" || mode == "run-make" {
857+
if mode == "rustdoc" || (mode == "run-make" && suite.ends_with("fulldeps")) {
853858
cmd.arg("--rustdoc-path").arg(builder.rustdoc(compiler.host));
854859
}
855860

@@ -931,7 +936,7 @@ impl Step for Compiletest {
931936

932937
// Only pass correct values for these flags for the `run-make` suite as it
933938
// requires that a C++ compiler was configured which isn't always the case.
934-
if suite == "run-make" {
939+
if suite == "run-make-fulldeps" {
935940
let llvm_components = output(Command::new(&llvm_config).arg("--components"));
936941
let llvm_cxxflags = output(Command::new(&llvm_config).arg("--cxxflags"));
937942
cmd.arg("--cc").arg(build.cc(target))
@@ -944,12 +949,12 @@ impl Step for Compiletest {
944949
}
945950
}
946951
}
947-
if suite == "run-make" && !build.config.llvm_enabled {
952+
if suite == "run-make-fulldeps" && !build.config.llvm_enabled {
948953
println!("Ignoring run-make test suite as they generally don't work without LLVM");
949954
return;
950955
}
951956

952-
if suite != "run-make" {
957+
if suite != "run-make-fulldeps" {
953958
cmd.arg("--cc").arg("")
954959
.arg("--cxx").arg("")
955960
.arg("--cflags").arg("")

src/ci/docker/wasm32-unknown/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ENV RUST_CONFIGURE_ARGS \
2626
--set rust.lld
2727

2828
ENV SCRIPT python2.7 /checkout/x.py test --target $TARGETS \
29+
src/test/run-make \
2930
src/test/ui \
3031
src/test/run-pass \
3132
src/test/compile-fail \

src/doc/rustdoc/src/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
- [The `#[doc]` attribute](the-doc-attribute.md)
66
- [Documentation tests](documentation-tests.md)
77
- [Passes](passes.md)
8+
- [Unstable features](unstable-features.md)

0 commit comments

Comments
 (0)