Cleanup: Rid the rmake test runners of extern crate run_make_support;

This commit is contained in:
León Orell Valerian Liehr 2024-05-02 17:57:23 +02:00
parent 80451a485b
commit 09aa77299b
No known key found for this signature in database
GPG Key ID: D17A07215F68E713
31 changed files with 0 additions and 55 deletions

View File

@ -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};

View File

@ -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() {

View File

@ -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() {

View File

@ -5,8 +5,6 @@
//
// Fixes: rust-lang/rust#123234
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir};
fn main() {

View File

@ -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() {

View File

@ -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;

View File

@ -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;

View File

@ -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::{

View File

@ -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() {

View File

@ -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;

View File

@ -1,5 +1,3 @@
extern crate run_make_support;
use run_make_support::{diff, rustc};
fn main() {

View File

@ -1,5 +1,3 @@
extern crate run_make_support;
use run_make_support::rustc;
fn main() {

View File

@ -1,5 +1,3 @@
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir};
fn main() {

View File

@ -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;

View File

@ -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};

View File

@ -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};

View File

@ -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};

View File

@ -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;

View File

@ -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;

View File

@ -1,5 +1,3 @@
extern crate run_make_support;
use run_make_support::{rustdoc, tmp_dir};
use std::path::Path;
use std::{fs, iter};

View File

@ -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;

View File

@ -1,5 +1,4 @@
//@ only-wasm32-wasip1
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir, wasmparser};
use std::collections::HashMap;

View File

@ -1,5 +1,4 @@
//@ only-wasm32-wasip1
extern crate run_make_support;
use run_make_support::{tmp_dir, wasmparser, rustc};
use std::collections::HashMap;

View File

@ -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;

View File

@ -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;

View File

@ -1,8 +1,6 @@
//@ only-wasm32-wasip1
#![deny(warnings)]
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir};
fn main() {

View File

@ -1,7 +1,5 @@
//@ only-wasm32-wasip1
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir, wasmparser};
use std::collections::HashMap;

View File

@ -1,8 +1,6 @@
//@ only-wasm32-wasip1
#![deny(warnings)]
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir};
fn main() {

View File

@ -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};

View File

@ -1,5 +1,4 @@
//@ only-wasm32-wasip1
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir, wasmparser};
use std::path::Path;

View File

@ -1,5 +1,4 @@
//@ only-wasm32-wasip1
extern crate run_make_support;
use run_make_support::{rustc, tmp_dir, wasmparser};
use std::path::Path;