Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 14 pull requests #81677

Closed
wants to merge 40 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8afe598
Add big-endian support for AArch64 va_arg
Jan 20, 2021
d53b0a0
Fix ARM and AArch64 calling convention for passing small composite types
Jan 20, 2021
06f14df
Support AArch64 ILP32 in libunwind bindings
Jan 20, 2021
a112c4d
Support AArch64 big-endian and ILP32 in compiletest
Jan 20, 2021
8783d1a
Add big-endian and ILP32 AArch64 targets
Jan 20, 2021
69e6326
Add new aarch64 targets to platform-support.md
Jan 26, 2021
5307230
Bump LLVM submodule
Jan 21, 2021
99eeb13
Remove remnants of the santizer runtime crates from bootstrap
tmiasko Jan 29, 2021
c7f4154
sys: use `process::abort()` instead of `arch::wasm32::unreachable()`
ojeda Jan 29, 2021
15701f7
Add doc aliases for "delete"
KamilaBorowska Jan 31, 2021
071d227
rustbuild: Don't build compiler twice for error-index-generator.
ehuss Jan 31, 2021
4b64bc1
Upgrade Chalk
jackh726 Jan 1, 2021
ee5ea24
Add long error explanation for E0521
jesusprubio Feb 1, 2021
9ef24f9
Update ui tests
jesusprubio Feb 1, 2021
b35d601
Directly use `Option<&[T]>` instead of converting from `Option<&Vec<T…
LingMan Feb 1, 2021
5022ad0
Add UI test for panic/assert in Rust 2021.
m-ou-se Feb 1, 2021
ed1de99
Fix bug with assert!() calling the wrong edition of panic!().
m-ou-se Feb 1, 2021
c3dedd0
Upgrade libc to 0.2.85
Jan 21, 2021
3408c58
Fix AArch64 types in std::os::raw
Amanieu Feb 1, 2021
bad0f28
Improve wording of suggestion about accessing field
hkmatsumoto Feb 2, 2021
07c4eeb
Fix out of date `Scalar` documentation
jacob-hughes Feb 2, 2021
6525671
Add better diagnostic for missing where clause
JulianKnodt Jan 30, 2021
ae3164e
Add .editorconfig
vn971 Jan 22, 2021
a0622d6
Update Chalk
jackh726 Jan 31, 2021
c57889b
Update ui tests (nll)
jesusprubio Feb 2, 2021
f0a3de6
More associated type tests
jackh726 Feb 2, 2021
806a8f6
Rollup merge of #80593 - jackh726:chalk-upgrade, r=nikomatsakis
jackh726 Feb 2, 2021
51158fc
Rollup merge of #81260 - vn971:restore-editorconfig, r=Mark-Simulacrum
jackh726 Feb 2, 2021
bdf621d
Rollup merge of #81455 - Amanieu:aarch64_ilp32, r=sanxiyn
jackh726 Feb 2, 2021
c948262
Rollup merge of #81517 - tmiasko:san-crates, r=Mark-Simulacrum
jackh726 Feb 2, 2021
e393f46
Rollup merge of #81530 - ojeda:sys-use-abort-instead-of-wasm32-unreac…
jackh726 Feb 2, 2021
8b04ab6
Rollup merge of #81544 - JulianKnodt:sat_where, r=lcnr
jackh726 Feb 2, 2021
fb487b5
Rollup merge of #81588 - xfix:delete-doc-alias, r=Mark-Simulacrum
jackh726 Feb 2, 2021
4a74152
Rollup merge of #81603 - ehuss:error-index-build, r=Mark-Simulacrum
jackh726 Feb 2, 2021
9757be5
Rollup merge of #81634 - jesusprubio:jesusprubio/add-long-explanation…
jackh726 Feb 2, 2021
4a5ca47
Rollup merge of #81636 - LingMan:slice_not_vec, r=petrochenkov
jackh726 Feb 2, 2021
f126301
Rollup merge of #81647 - m-ou-se:assert-2021-fix, r=petrochenkov
jackh726 Feb 2, 2021
1b1d551
Rollup merge of #81655 - matsujika:suggest-accessing-field-rewording,…
jackh726 Feb 2, 2021
06e2911
Rollup merge of #81665 - jacob-hughes:mir_doc_fix, r=estebank
jackh726 Feb 2, 2021
5f1616d
Rollup merge of #81671 - jackh726:atb-tests, r=estebank
jackh726 Feb 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 1 addition & 50 deletions src/bootstrap/test.rs
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ use std::process::Command;
use build_helper::{self, output, t};

use crate::builder::{Builder, Compiler, Kind, RunConfig, ShouldRun, Step};
use crate::cache::{Interned, INTERNER};
use crate::cache::Interned;
use crate::compile;
use crate::config::TargetSelection;
use crate::dist;
@@ -1613,55 +1613,6 @@ impl Step for CrateLibrustc {
}
}

#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct CrateNotDefault {
compiler: Compiler,
target: TargetSelection,
test_kind: TestKind,
krate: &'static str,
}

impl Step for CrateNotDefault {
type Output = ();

fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
run.path("src/librustc_asan")
.path("src/librustc_lsan")
.path("src/librustc_msan")
.path("src/librustc_tsan")
}

fn make_run(run: RunConfig<'_>) {
let builder = run.builder;
let compiler = builder.compiler(builder.top_stage, run.build_triple());

let test_kind = builder.kind.into();

builder.ensure(CrateNotDefault {
compiler,
target: run.target,
test_kind,
krate: match run.path {
_ if run.path.ends_with("src/librustc_asan") => "rustc_asan",
_ if run.path.ends_with("src/librustc_lsan") => "rustc_lsan",
_ if run.path.ends_with("src/librustc_msan") => "rustc_msan",
_ if run.path.ends_with("src/librustc_tsan") => "rustc_tsan",
_ => panic!("unexpected path {:?}", run.path),
},
});
}

fn run(self, builder: &Builder<'_>) {
builder.ensure(Crate {
compiler: self.compiler,
target: self.target,
mode: Mode::Std,
test_kind: self.test_kind,
krate: INTERNER.intern_str(self.krate),
});
}
}

#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Crate {
pub compiler: Compiler,