Cleanup: Rid the rmake
test runners of extern crate run_make_support;
This commit is contained in:
parent
80451a485b
commit
09aa77299b
@ -3,8 +3,6 @@
|
||||
// Check that the `CURRENT_RUSTC_VERSION` placeholder is correctly replaced by the current
|
||||
// `rustc` version and the `since` property in feature stability gating is properly respected.
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use run_make_support::{rustc, aux_build};
|
||||
|
@ -3,8 +3,6 @@
|
||||
// Test that if we build `b` against a version of `a` that has one set of types, it will not run
|
||||
// with a dylib that has a different set of types.
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{run, run_fail, rustc};
|
||||
|
||||
fn main() {
|
||||
|
@ -1,8 +1,6 @@
|
||||
//! Check that non-trivial `repr(C)` enum in Rust has valid C layout.
|
||||
//@ ignore-cross-compile
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{cc, extra_c_flags, extra_cxx_flags, run, rustc, static_lib};
|
||||
|
||||
pub fn main() {
|
||||
|
@ -5,8 +5,6 @@
|
||||
//
|
||||
// Fixes: rust-lang/rust#123234
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir};
|
||||
|
||||
fn main() {
|
||||
|
@ -7,8 +7,6 @@
|
||||
// Also see discussion at
|
||||
// <https://internals.rust-lang.org/t/interaction-between-incremental-compilation-and-emit/20551>
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir};
|
||||
|
||||
fn main() {
|
||||
|
@ -14,8 +14,6 @@
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::object;
|
||||
use run_make_support::object::read::archive::ArchiveFile;
|
||||
use run_make_support::object::read::Object;
|
||||
|
@ -1,8 +1,6 @@
|
||||
// This test checks that the core library of Rust can be compiled without enabling
|
||||
// support for formatting and parsing floating-point numbers.
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::rustc;
|
||||
use std::path::PathBuf;
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
//! which requires extra `target-abi` metadata to be emitted.
|
||||
//@ needs-matching-clang
|
||||
//@ needs-llvm-components riscv
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{bin_name, clang, llvm_readobj, rustc, tmp_dir};
|
||||
use std::{
|
||||
|
@ -1,7 +1,5 @@
|
||||
// Test that we exit with the correct exit code for successful / unsuccessful / ICE compilations
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, rustdoc, tmp_dir};
|
||||
|
||||
fn main() {
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
#[cfg(unix)]
|
||||
extern crate libc;
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{aux_build, tmp_dir};
|
||||
use std::fs;
|
||||
|
@ -1,5 +1,3 @@
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{diff, rustc};
|
||||
|
||||
fn main() {
|
||||
|
@ -1,5 +1,3 @@
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::rustc;
|
||||
|
||||
fn main() {
|
||||
|
@ -1,5 +1,3 @@
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir};
|
||||
|
||||
fn main() {
|
||||
|
@ -5,8 +5,6 @@
|
||||
//!
|
||||
//! It also checks that some targets have the correct set cfgs.
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use std::collections::HashSet;
|
||||
use std::ffi::OsString;
|
||||
use std::io::BufRead;
|
||||
|
@ -12,8 +12,6 @@
|
||||
//@ ignore-cross-compile
|
||||
//@ ignore-wasm
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use std::io::BufRead;
|
||||
|
||||
use run_make_support::{rustc, is_msvc};
|
||||
|
@ -1,8 +1,6 @@
|
||||
//! This checks the output of some `--print` options when
|
||||
//! output to a file (instead of stdout)
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use std::ffi::OsString;
|
||||
|
||||
use run_make_support::{rustc, target, tmp_dir};
|
||||
|
@ -1,8 +1,6 @@
|
||||
//@ ignore-windows
|
||||
// This test should be replaced with one in tests/debuginfo once GDB or LLDB support 128-bit enums.
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use gimli::{AttributeValue, Dwarf, EndianRcSlice, Reader, RunTimeEndian};
|
||||
use object::{Object, ObjectSection};
|
||||
use run_make_support::{gimli, object, rustc, tmp_dir};
|
||||
|
@ -8,8 +8,6 @@
|
||||
//@ needs-rust-lld
|
||||
//@ only-x86_64-unknown-linux-gnu
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::regex::Regex;
|
||||
use run_make_support::rustc;
|
||||
use std::process::Output;
|
||||
|
@ -5,8 +5,6 @@
|
||||
//@ ignore-msvc
|
||||
//@ ignore-s390x lld does not yet support s390x as target
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::regex::Regex;
|
||||
use run_make_support::rustc;
|
||||
use std::process::Output;
|
||||
|
@ -1,5 +1,3 @@
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustdoc, tmp_dir};
|
||||
use std::path::Path;
|
||||
use std::{fs, iter};
|
||||
|
@ -1,8 +1,6 @@
|
||||
//@ only-wasm32-wasip1
|
||||
//@ needs-wasmtime
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir};
|
||||
use std::path::Path;
|
||||
use std::process::Command;
|
||||
|
@ -1,5 +1,4 @@
|
||||
//@ only-wasm32-wasip1
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir, wasmparser};
|
||||
use std::collections::HashMap;
|
||||
|
@ -1,5 +1,4 @@
|
||||
//@ only-wasm32-wasip1
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{tmp_dir, wasmparser, rustc};
|
||||
use std::collections::HashMap;
|
||||
|
@ -1,7 +1,5 @@
|
||||
//@ only-wasm32-wasip1
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{tmp_dir, wasmparser, rustc};
|
||||
use std::collections::HashMap;
|
||||
use std::path::Path;
|
||||
|
@ -1,7 +1,5 @@
|
||||
//@ only-wasm32-wasip1
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{tmp_dir, wasmparser, rustc};
|
||||
use std::collections::HashMap;
|
||||
use wasmparser::TypeRef::Func;
|
||||
|
@ -1,8 +1,6 @@
|
||||
//@ only-wasm32-wasip1
|
||||
#![deny(warnings)]
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir};
|
||||
|
||||
fn main() {
|
||||
|
@ -1,7 +1,5 @@
|
||||
//@ only-wasm32-wasip1
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir, wasmparser};
|
||||
use std::collections::HashMap;
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
//@ only-wasm32-wasip1
|
||||
#![deny(warnings)]
|
||||
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir};
|
||||
|
||||
fn main() {
|
||||
|
@ -1,5 +1,4 @@
|
||||
//@ only-wasm32-wasip1
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir, wasmparser};
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
@ -1,5 +1,4 @@
|
||||
//@ only-wasm32-wasip1
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir, wasmparser};
|
||||
use std::path::Path;
|
||||
|
@ -1,5 +1,4 @@
|
||||
//@ only-wasm32-wasip1
|
||||
extern crate run_make_support;
|
||||
|
||||
use run_make_support::{rustc, tmp_dir, wasmparser};
|
||||
use std::path::Path;
|
||||
|
Loading…
Reference in New Issue
Block a user