ignore run-make tests that need std on no_std targets
In particular, anything that includes `none` in the target tripple, and `nvptx64-nvidia-cuda`
This commit is contained in:
parent
fd50e1012f
commit
efaf3eb8a0
108 changed files with 184 additions and 21 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
// ignore-tidy-linelength
|
// ignore-tidy-linelength
|
||||||
|
|
||||||
// Check that the `CURRENT_RUSTC_VERSION` placeholder is correctly replaced by the current
|
// Check that the `CURRENT_RUSTC_VERSION` placeholder is correctly replaced by the current
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
// Test that `-Awarnings` suppresses warnings for unstable APIs.
|
// Test that `-Awarnings` suppresses warnings for unstable APIs.
|
||||||
|
|
||||||
use run_make_support::rustc;
|
use run_make_support::rustc;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// emitting an object file is not necessary if user didn't ask for one
|
// emitting an object file is not necessary if user didn't ask for one
|
||||||
//
|
//
|
||||||
// This test is similar to run-make/artifact-incr-cache but it doesn't
|
// This test is similar to run-make/artifact-incr-cache but it doesn't
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// rustc should be able to emit required files (asm, llvm-*, etc) during incremental
|
// rustc should be able to emit required files (asm, llvm-*, etc) during incremental
|
||||||
// compilation on the first pass by running the code gen as well as on subsequent runs -
|
// compilation on the first pass by running the code gen as well as on subsequent runs -
|
||||||
// extracting them from the cache
|
// extracting them from the cache
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// When setting the crate type as a "bin" (in app.rs),
|
// When setting the crate type as a "bin" (in app.rs),
|
||||||
// this could cause a bug where some symbols would not be
|
// this could cause a bug where some symbols would not be
|
||||||
// emitted in the object files. This has been fixed, and
|
// emitted in the object files. This has been fixed, and
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// The crate "foo" tied to this test executes a very specific function,
|
// The crate "foo" tied to this test executes a very specific function,
|
||||||
// which involves boxing an instance of the struct Foo. However,
|
// which involves boxing an instance of the struct Foo. However,
|
||||||
// this once caused a segmentation fault in cargo release builds due to an LLVM
|
// this once caused a segmentation fault in cargo release builds due to an LLVM
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::{rfs, rustc};
|
use run_make_support::{rfs, rustc};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// This test checks that extern crate declarations in Cargo without a corresponding declaration
|
// This test checks that extern crate declarations in Cargo without a corresponding declaration
|
||||||
// in the manifest of a dependency are NOT allowed. The last rustc call does it anyways, which
|
// in the manifest of a dependency are NOT allowed. The last rustc call does it anyways, which
|
||||||
// should result in a compilation failure.
|
// should result in a compilation failure.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Since #19941, rustc can accept specifications on its library search paths.
|
// Since #19941, rustc can accept specifications on its library search paths.
|
||||||
// This test runs Rust programs with varied library dependencies, expecting them
|
// This test runs Rust programs with varied library dependencies, expecting them
|
||||||
// to succeed or fail depending on the situation.
|
// to succeed or fail depending on the situation.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Test output of const super trait errors in both stable and nightly.
|
// Test output of const super trait errors in both stable and nightly.
|
||||||
// We don't want to provide suggestions on stable that only make sense in nightly.
|
// We don't want to provide suggestions on stable that only make sense in nightly.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Test that previously triggered a linker failure with root cause
|
// Test that previously triggered a linker failure with root cause
|
||||||
// similar to one found in the issue #69368.
|
// similar to one found in the issue #69368.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// When using the flag -C linker-plugin-lto, static libraries could lose their upstream object
|
// When using the flag -C linker-plugin-lto, static libraries could lose their upstream object
|
||||||
// files during compilation. This bug was fixed in #53031, and this test compiles a staticlib
|
// files during compilation. This bug was fixed in #53031, and this test compiles a staticlib
|
||||||
// dependent on upstream, checking that the upstream object file still exists after no LTO and
|
// dependent on upstream, checking that the upstream object file still exists after no LTO and
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// This test checks that the object files we generate are actually
|
// This test checks that the object files we generate are actually
|
||||||
// LLVM bitcode files (as used by linker LTO plugins) when compiling with
|
// LLVM bitcode files (as used by linker LTO plugins) when compiling with
|
||||||
// -Clinker-plugin-lto.
|
// -Clinker-plugin-lto.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// This test checks that files referenced via #[debugger_visualizer] are
|
// This test checks that files referenced via #[debugger_visualizer] are
|
||||||
// included in `--emit dep-info` output.
|
// included in `--emit dep-info` output.
|
||||||
// See https://github.com/rust-lang/rust/pull/111641
|
// See https://github.com/rust-lang/rust/pull/111641
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// This is a simple smoke test for rustc's `--emit dep-info` feature. It prints out
|
// This is a simple smoke test for rustc's `--emit dep-info` feature. It prints out
|
||||||
// information about dependencies in a Makefile-compatible format, as a `.d` file.
|
// information about dependencies in a Makefile-compatible format, as a `.d` file.
|
||||||
// Note that this test does not check that the `.d` file is Makefile-compatible.
|
// Note that this test does not check that the `.d` file is Makefile-compatible.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Non-regression test for issue #132920 where multiple versions of the same crate are present in
|
// Non-regression test for issue #132920 where multiple versions of the same crate are present in
|
||||||
// the dependency graph, and an unexpected error in a dependent crate caused an ICE in the
|
// the dependency graph, and an unexpected error in a dependent crate caused an ICE in the
|
||||||
// unsatisfied bounds diagnostics for traits present in multiple crate versions.
|
// unsatisfied bounds diagnostics for traits present in multiple crate versions.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
use run_make_support::{cwd, diff, rustc, rustdoc};
|
use run_make_support::{cwd, diff, rustc, rustdoc};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Tests behavior of rustdoc `--test-runtool`.
|
// Tests behavior of rustdoc `--test-runtool`.
|
||||||
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// A flag named dump-mono-stats was added to the compiler in 2022, which
|
// A flag named dump-mono-stats was added to the compiler in 2022, which
|
||||||
// collects stats on instantiation of items and their associated costs.
|
// collects stats on instantiation of items and their associated costs.
|
||||||
// This test checks that the output stat file exists, and that it contains
|
// This test checks that the output stat file exists, and that it contains
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::rustc;
|
use run_make_support::rustc;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Tests the -Zembed-metadata compiler flag.
|
// Tests the -Zembed-metadata compiler flag.
|
||||||
// Tracking issue: https://github.com/rust-lang/rust/issues/139165
|
// Tracking issue: https://github.com/rust-lang/rust/issues/139165
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
//@ ignore-apple
|
//@ ignore-apple
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
use run_make_support::{rfs, rustc};
|
use run_make_support::{rfs, rustc};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Specifying how rustc outputs a file can be done in different ways, such as
|
// Specifying how rustc outputs a file can be done in different ways, such as
|
||||||
// the output flag or the KIND=NAME syntax. However, some of these methods used
|
// the output flag or the KIND=NAME syntax. However, some of these methods used
|
||||||
// to result in different hashes on output files even though they yielded the
|
// to result in different hashes on output files even though they yielded the
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
// this diagnostics information should be located.
|
// this diagnostics information should be located.
|
||||||
// See https://github.com/rust-lang/rust/pull/51946
|
// See https://github.com/rust-lang/rust/pull/51946
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
//@ ignore-apple
|
//@ ignore-apple
|
||||||
// Reason: this feature only works when the output object format is ELF.
|
// Reason: this feature only works when the output object format is ELF.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
//! If `-o -` or `--emit KIND=-` is provided, output should be written to stdout
|
//! If `-o -` or `--emit KIND=-` is provided, output should be written to stdout
|
||||||
//! instead. Binary output (`obj`, `llvm-bc`, `link` and `metadata`)
|
//! instead. Binary output (`obj`, `llvm-bc`, `link` and `metadata`)
|
||||||
//! being written this way will result in an error if stdout is a tty.
|
//! being written this way will result in an error if stdout is a tty.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Inside dep-info emit files, #71858 made it so all accessed environment
|
// Inside dep-info emit files, #71858 made it so all accessed environment
|
||||||
// variables are usefully printed. This test checks that this feature works
|
// variables are usefully printed. This test checks that this feature works
|
||||||
// as intended by checking if the environment variables used in compilation
|
// as intended by checking if the environment variables used in compilation
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// When rustc is looking for a crate but is given a staticlib instead,
|
// When rustc is looking for a crate but is given a staticlib instead,
|
||||||
// the error message should be helpful and indicate precisely the cause
|
// the error message should be helpful and indicate precisely the cause
|
||||||
// of the compilation failure.
|
// of the compilation failure.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Test that we exit with the correct exit code for successful / unsuccessful / ICE compilations
|
// Test that we exit with the correct exit code for successful / unsuccessful / ICE compilations
|
||||||
|
|
||||||
use run_make_support::{rustc, rustdoc};
|
use run_make_support::{rustc, rustdoc};
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,7 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::rustc;
|
use run_make_support::rustc;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
rustc()
|
rustc().env("RUSTC_FORCE_RUSTC_VERSION", "1").input("libr.rs").run();
|
||||||
.env("RUSTC_FORCE_RUSTC_VERSION", "1")
|
rustc().env("RUSTC_FORCE_RUSTC_VERSION", "2").input("app.rs").run();
|
||||||
.input("libr.rs")
|
|
||||||
.run();
|
|
||||||
rustc()
|
|
||||||
.env("RUSTC_FORCE_RUSTC_VERSION", "2")
|
|
||||||
.input("app.rs")
|
|
||||||
.run();
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
use run_make_support::{rustc, dynamic_lib_name};
|
//@ needs-target-std
|
||||||
|
use run_make_support::{dynamic_lib_name, rustc};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
rustc()
|
rustc().env("RUSTC_FORCE_RUSTC_VERSION", "1").input("libr.rs").run();
|
||||||
.env("RUSTC_FORCE_RUSTC_VERSION", "1")
|
|
||||||
.input("libr.rs")
|
|
||||||
.run();
|
|
||||||
|
|
||||||
rustc()
|
rustc()
|
||||||
.env("RUSTC_FORCE_RUSTC_VERSION", "2")
|
.env("RUSTC_FORCE_RUSTC_VERSION", "2")
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,7 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::rustc;
|
use run_make_support::rustc;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
rustc()
|
rustc().env("RUSTC_FORCE_RUSTC_VERSION", "1").input("libr.rs").run();
|
||||||
.env("RUSTC_FORCE_RUSTC_VERSION", "1")
|
rustc().env("RUSTC_FORCE_RUSTC_VERSION", "2").input("app.rs").run();
|
||||||
.input("libr.rs")
|
|
||||||
.run();
|
|
||||||
rustc()
|
|
||||||
.env("RUSTC_FORCE_RUSTC_VERSION", "2")
|
|
||||||
.input("app.rs")
|
|
||||||
.run();
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// In the following scenario:
|
// In the following scenario:
|
||||||
// 1. The crate foo, is referenced multiple times
|
// 1. The crate foo, is referenced multiple times
|
||||||
// 2. --extern foo=./path/to/libbar.rlib is specified to rustc
|
// 2. --extern foo=./path/to/libbar.rlib is specified to rustc
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// The --extern flag can override the default crate search of
|
// The --extern flag can override the default crate search of
|
||||||
// the compiler and directly fetch a given path. There are a few rules
|
// the compiler and directly fetch a given path. There are a few rules
|
||||||
// to follow: for example, there can't be more than one rlib, the crates must
|
// to follow: for example, there can't be more than one rlib, the crates must
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// In this test, baz.rs is looking for an extern crate "a" which
|
// In this test, baz.rs is looking for an extern crate "a" which
|
||||||
// does not exist, and can only run through the --extern rustc flag
|
// does not exist, and can only run through the --extern rustc flag
|
||||||
// defining that the "a" crate is in fact just "foo". This test
|
// defining that the "a" crate is in fact just "foo". This test
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// In this test, the rust library foo1 exists in two different locations, but only one
|
// In this test, the rust library foo1 exists in two different locations, but only one
|
||||||
// is required by the --extern flag. This test checks that the copy is ignored (as --extern
|
// is required by the --extern flag. This test checks that the copy is ignored (as --extern
|
||||||
// demands fetching only the original instance of foo1) and that no error is emitted, resulting
|
// demands fetching only the original instance of foo1) and that no error is emitted, resulting
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Almost identical to `extern-multiple-copies`, but with a variation in the --extern calls
|
// Almost identical to `extern-multiple-copies`, but with a variation in the --extern calls
|
||||||
// and the addition of #[macro_use] in the rust code files, which used to break --extern
|
// and the addition of #[macro_use] in the rust code files, which used to break --extern
|
||||||
// until #33625.
|
// until #33625.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Trying to access mid-level internal representation (MIR) in statics
|
// Trying to access mid-level internal representation (MIR) in statics
|
||||||
// used to cause an internal compiler error (ICE), now handled as a proper
|
// used to cause an internal compiler error (ICE), now handled as a proper
|
||||||
// error since #100211. This test checks that the correct error is printed
|
// error since #100211. This test checks that the correct error is printed
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
// See https://github.com/rust-lang/rust/pull/95604
|
// See https://github.com/rust-lang/rust/pull/95604
|
||||||
// See https://github.com/rust-lang/rust/issues/47384
|
// See https://github.com/rust-lang/rust/issues/47384
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-wasm differences in object file formats causes errors in the llvm_objdump step.
|
//@ ignore-wasm differences in object file formats causes errors in the llvm_objdump step.
|
||||||
//@ ignore-windows differences in object file formats causes errors in the llvm_objdump step.
|
//@ ignore-windows differences in object file formats causes errors in the llvm_objdump step.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// include_bytes! and include_str! in `main.rs`
|
// include_bytes! and include_str! in `main.rs`
|
||||||
// should register the included file as of #24423,
|
// should register the included file as of #24423,
|
||||||
// and this test checks that this is still the case.
|
// and this test checks that this is still the case.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// This test ensures that changes to files referenced via #[debugger_visualizer]
|
// This test ensures that changes to files referenced via #[debugger_visualizer]
|
||||||
// (in this case, foo.py and foo.natvis) are picked up when compiling incrementally.
|
// (in this case, foo.py and foo.natvis) are picked up when compiling incrementally.
|
||||||
// See https://github.com/rust-lang/rust/pull/111641
|
// See https://github.com/rust-lang/rust/pull/111641
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use std::ffi::OsStr;
|
use std::ffi::OsStr;
|
||||||
|
|
||||||
use run_make_support::regex::Regex;
|
use run_make_support::regex::Regex;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// When a fake library was given to the compiler, it would
|
// When a fake library was given to the compiler, it would
|
||||||
// result in an obscure and unhelpful error message. This test
|
// result in an obscure and unhelpful error message. This test
|
||||||
// creates a false "foo" dylib, and checks that the standard error
|
// creates a false "foo" dylib, and checks that the standard error
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// If the static library provided is not valid (in this test,
|
// If the static library provided is not valid (in this test,
|
||||||
// created as an empty file),
|
// created as an empty file),
|
||||||
// rustc should print a normal error message and not throw
|
// rustc should print a normal error message and not throw
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
//
|
//
|
||||||
// See https://github.com/rust-lang/rust/issues/26006
|
// See https://github.com/rust-lang/rust/issues/26006
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ needs-symlink
|
//@ needs-symlink
|
||||||
//Reason: symlink requires elevated permission in Windows
|
//Reason: symlink requires elevated permission in Windows
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// When the TMP (on Windows) or TMPDIR (on Unix) variable is set to an invalid
|
// When the TMP (on Windows) or TMPDIR (on Unix) variable is set to an invalid
|
||||||
// or non-existing directory, this used to cause an internal compiler error (ICE). After the
|
// or non-existing directory, this used to cause an internal compiler error (ICE). After the
|
||||||
// addition of proper error handling in #28430, this test checks that the expected message is
|
// addition of proper error handling in #28430, this test checks that the expected message is
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
use std::os::unix::fs::PermissionsExt;
|
use std::os::unix::fs::PermissionsExt;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Non-regression test for issues #125474, #125484, #125646, with the repro taken from #125484. Some
|
// Non-regression test for issues #125474, #125484, #125646, with the repro taken from #125484. Some
|
||||||
// queries use "used dependencies" while others use "speculatively loaded dependencies", and an
|
// queries use "used dependencies" while others use "speculatively loaded dependencies", and an
|
||||||
// indexing ICE appeared in some cases when these were unexpectedly used in the same context.
|
// indexing ICE appeared in some cases when these were unexpectedly used in the same context.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// The byte positions in json format error logging used to have a small, difficult
|
// The byte positions in json format error logging used to have a small, difficult
|
||||||
// to predict offset. This was changed to be the top of the file every time in #42973,
|
// to predict offset. This was changed to be the top of the file every time in #42973,
|
||||||
// and this test checks that the measurements appearing in the standard error are correct.
|
// and this test checks that the measurements appearing in the standard error are correct.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Inside a library, implementing a trait for another trait
|
// Inside a library, implementing a trait for another trait
|
||||||
// with a lifetime used to cause an internal compiler error (ICE).
|
// with a lifetime used to cause an internal compiler error (ICE).
|
||||||
// This test checks that this bug does not make a resurgence -
|
// This test checks that this bug does not make a resurgence -
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// In 2016, the rustc flag "-C link-arg" was introduced - it can be repeatedly used
|
// In 2016, the rustc flag "-C link-arg" was introduced - it can be repeatedly used
|
||||||
// to add single arguments to the linker. This test passes 2 arguments to the linker using it,
|
// to add single arguments to the linker. This test passes 2 arguments to the linker using it,
|
||||||
// then checks that the compiler's output contains the arguments passed to it.
|
// then checks that the compiler's output contains the arguments passed to it.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Passing linker arguments to the compiler used to be lost or reordered in a messy way
|
// Passing linker arguments to the compiler used to be lost or reordered in a messy way
|
||||||
// as they were passed further to the linker. This was fixed in #70665, and this test
|
// as they were passed further to the linker. This was fixed in #70665, and this test
|
||||||
// checks that linker arguments remain intact and in the order they were originally passed in.
|
// checks that linker arguments remain intact and in the order they were originally passed in.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// When native libraries are passed to the linker, there used to be an annoyance
|
// When native libraries are passed to the linker, there used to be an annoyance
|
||||||
// where multiple instances of the same library in a row would cause duplication in
|
// where multiple instances of the same library in a row would cause duplication in
|
||||||
// outputs. This has been fixed, and this test checks that it stays fixed.
|
// outputs. This has been fixed, and this test checks that it stays fixed.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::{Rustc, diff, regex, rustc};
|
use run_make_support::{Rustc, diff, regex, rustc};
|
||||||
|
|
||||||
fn run_rustc() -> Rustc {
|
fn run_rustc() -> Rustc {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
// test that directories get created when emitting llvm bitcode and IR
|
// test that directories get created when emitting llvm bitcode and IR
|
||||||
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
// This test makes sure that functions defined in the upstream crates do not
|
// This test makes sure that functions defined in the upstream crates do not
|
||||||
// appear twice in the final staticlib when listing all the symbols from it.
|
// appear twice in the final staticlib when listing all the symbols from it.
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
// Reason: `llvm-objdump`'s output looks different on windows than on other platforms.
|
// Reason: `llvm-objdump`'s output looks different on windows than on other platforms.
|
||||||
// Only checking on Unix platforms should suffice.
|
// Only checking on Unix platforms should suffice.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::{path, rustc};
|
use run_make_support::{path, rustc};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// An extended version of the ui/changing-crates.rs test, this test puts
|
// An extended version of the ui/changing-crates.rs test, this test puts
|
||||||
// multiple mismatching crates into the search path of crateC (A2 and A3)
|
// multiple mismatching crates into the search path of crateC (A2 and A3)
|
||||||
// and checks that the standard error contains helpful messages to indicate
|
// and checks that the standard error contains helpful messages to indicate
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Emitting dep-info alongside metadata would present subtle discrepancies
|
// Emitting dep-info alongside metadata would present subtle discrepancies
|
||||||
// in the output file, such as the filename transforming underscores_ into hyphens-.
|
// in the output file, such as the filename transforming underscores_ into hyphens-.
|
||||||
// After the fix in #114750, this test checks that the emitted files are identical
|
// After the fix in #114750, this test checks that the emitted files are identical
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// In a dependency hierarchy, metadata-only crates could cause an Internal
|
// In a dependency hierarchy, metadata-only crates could cause an Internal
|
||||||
// Compiler Error (ICE) due to a compiler bug - not correctly fetching sources for
|
// Compiler Error (ICE) due to a compiler bug - not correctly fetching sources for
|
||||||
// metadata-only crates. This test is a minimal reproduction of a program that triggered
|
// metadata-only crates. This test is a minimal reproduction of a program that triggered
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// A simple smoke test to check that rustc fails compilation
|
// A simple smoke test to check that rustc fails compilation
|
||||||
// and outputs a helpful message when a dependency is missing
|
// and outputs a helpful message when a dependency is missing
|
||||||
// in a dependency chain.
|
// in a dependency chain.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::{path, rustc};
|
use run_make_support::{path, rustc};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// On MSVC the alternative naming format for static libraries (`libfoo.a`) is accepted in addition
|
// On MSVC the alternative naming format for static libraries (`libfoo.a`) is accepted in addition
|
||||||
// to the default format (`foo.lib`).
|
// to the default format (`foo.lib`).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
// This test is the same as native-link-modifier-rustc, but without rlibs.
|
// This test is the same as native-link-modifier-rustc, but without rlibs.
|
||||||
// See https://github.com/rust-lang/rust/issues/99425
|
// See https://github.com/rust-lang/rust/issues/99425
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-apple
|
//@ ignore-apple
|
||||||
// Reason: linking fails due to the unusual ".ext" staticlib name.
|
// Reason: linking fails due to the unusual ".ext" staticlib name.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// `verbatim` is a native link modifier that forces rustc to only accept libraries with
|
// `verbatim` is a native link modifier that forces rustc to only accept libraries with
|
||||||
// a specified name. This test checks that this modifier works as intended.
|
// a specified name. This test checks that this modifier works as intended.
|
||||||
// This test is the same as native-link-modifier-linker, but with rlibs.
|
// This test is the same as native-link-modifier-linker, but with rlibs.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// `no_builtins` is an attribute related to LLVM's optimizations. In order to ensure that it has an
|
// `no_builtins` is an attribute related to LLVM's optimizations. In order to ensure that it has an
|
||||||
// effect on link-time optimizations (LTO), it should be added to function declarations in a crate.
|
// effect on link-time optimizations (LTO), it should be added to function declarations in a crate.
|
||||||
// This test uses the `llvm-filecheck` tool to determine that this attribute is successfully
|
// This test uses the `llvm-filecheck` tool to determine that this attribute is successfully
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// The rlib produced by a no_builtins crate should be explicitly linked
|
// The rlib produced by a no_builtins crate should be explicitly linked
|
||||||
// during compilation, and as a result be present in the linker arguments.
|
// during compilation, and as a result be present in the linker arguments.
|
||||||
// See the comments inside this file for more details.
|
// See the comments inside this file for more details.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::{rfs, rustc};
|
use run_make_support::{rfs, rustc};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::{rfs, rustc};
|
use run_make_support::{rfs, rustc};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// rust should produce artifact notifications about files it was asked to --emit.
|
// rust should produce artifact notifications about files it was asked to --emit.
|
||||||
//
|
//
|
||||||
// It should work in incremental mode both on the first pass where files are generated as well
|
// It should work in incremental mode both on the first pass where files are generated as well
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// In this test, the function `bar` has #[inline(never)] and the function `foo`
|
// In this test, the function `bar` has #[inline(never)] and the function `foo`
|
||||||
// does not. This test outputs LLVM optimization remarks twice - first for all
|
// does not. This test outputs LLVM optimization remarks twice - first for all
|
||||||
// functions (including `bar`, and the `inline` mention), and then for only `foo`
|
// functions (including `bar`, and the `inline` mention), and then for only `foo`
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// An attempt to set the output `-o` into a directory or a file we cannot write into should indeed
|
// An attempt to set the output `-o` into a directory or a file we cannot write into should indeed
|
||||||
// be an error; but not an ICE (Internal Compiler Error). This test attempts both and checks
|
// be an error; but not an ICE (Internal Compiler Error). This test attempts both and checks
|
||||||
// that the standard error matches what is expected.
|
// that the standard error matches what is expected.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// When two instances of rustc are invoked in parallel, they
|
// When two instances of rustc are invoked in parallel, they
|
||||||
// can conflict on their temporary files and overwrite each others',
|
// can conflict on their temporary files and overwrite each others',
|
||||||
// leading to unsuccessful compilation. The -Z temps-dir flag adds
|
// leading to unsuccessful compilation. The -Z temps-dir flag adds
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// A similar test to pass-linker-flags, testing that the `-l link-arg` flag
|
// A similar test to pass-linker-flags, testing that the `-l link-arg` flag
|
||||||
// respects the order relative to other `-l` flags, but this time, the flags
|
// respects the order relative to other `-l` flags, but this time, the flags
|
||||||
// are passed on the compilation of a dependency. This test checks that the
|
// are passed on the compilation of a dependency. This test checks that the
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// This test checks the proper function of `-l link-arg=NAME`, which, unlike
|
// This test checks the proper function of `-l link-arg=NAME`, which, unlike
|
||||||
// -C link-arg, is supposed to guarantee that the order relative to other -l
|
// -C link-arg, is supposed to guarantee that the order relative to other -l
|
||||||
// options will be respected. In this test, compilation fails (because none of the
|
// options will be respected. In this test, compilation fails (because none of the
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// LLVM's profiling instrumentation adds a few symbols that are used by the profiler runtime.
|
// LLVM's profiling instrumentation adds a few symbols that are used by the profiler runtime.
|
||||||
// Since these show up as globals in the LLVM IR, the compiler generates dllimport-related
|
// Since these show up as globals in the LLVM IR, the compiler generates dllimport-related
|
||||||
// __imp_ stubs for them. This can lead to linker errors because the instrumentation
|
// __imp_ stubs for them. This can lead to linker errors because the instrumentation
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Passing --emit=dep-info to the Rust compiler should create a .d file...
|
// Passing --emit=dep-info to the Rust compiler should create a .d file...
|
||||||
// but it failed to do so in Rust 1.69.0 when combined with -Z unpretty=expanded
|
// but it failed to do so in Rust 1.69.0 when combined with -Z unpretty=expanded
|
||||||
// due to a bug. This test checks that -Z unpretty=expanded does not prevent the
|
// due to a bug. This test checks that -Z unpretty=expanded does not prevent the
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// A compiler bug caused the following issue:
|
// A compiler bug caused the following issue:
|
||||||
// If a crate A depends on crate B, and crate B
|
// If a crate A depends on crate B, and crate B
|
||||||
// depends on crate C, and crate C contains a procedural
|
// depends on crate C, and crate C contains a procedural
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
// It tests several cases, each of them has a detailed description attached to it.
|
// It tests several cases, each of them has a detailed description attached to it.
|
||||||
// See https://github.com/rust-lang/rust/pull/96867
|
// See https://github.com/rust-lang/rust/pull/96867
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
// Reason: the remap path prefix is not printed in the dwarf dump.
|
// Reason: the remap path prefix is not printed in the dwarf dump.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Generating metadata alongside remap-path-prefix would fail to actually remap the path
|
// Generating metadata alongside remap-path-prefix would fail to actually remap the path
|
||||||
// in the metadata. After this was fixed in #85344, this test checks that "auxiliary" is being
|
// in the metadata. After this was fixed in #85344, this test checks that "auxiliary" is being
|
||||||
// successfully remapped to "/the/aux" in the rmeta files.
|
// successfully remapped to "/the/aux" in the rmeta files.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
// This test should be replaced with one in tests/debuginfo once GDB or LLDB support 128-bit enums.
|
// This test should be replaced with one in tests/debuginfo once GDB or LLDB support 128-bit enums.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
// Outputs should be identical.
|
// Outputs should be identical.
|
||||||
// See https://github.com/rust-lang/rust/issues/34902
|
// See https://github.com/rust-lang/rust/issues/34902
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
// Reasons:
|
// Reasons:
|
||||||
// 1. The object files are reproducible, but their paths are not, which causes
|
// 1. The object files are reproducible, but their paths are not, which causes
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// If a library is compiled with -C extra-filename, the rust compiler
|
// If a library is compiled with -C extra-filename, the rust compiler
|
||||||
// will take this into account when searching for libraries. However,
|
// will take this into account when searching for libraries. However,
|
||||||
// if that library is then renamed, the rust compiler should fall back
|
// if that library is then renamed, the rust compiler should fall back
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// `-Z packed_bundled_libs` is an unstable rustc flag that makes the compiler
|
// `-Z packed_bundled_libs` is an unstable rustc flag that makes the compiler
|
||||||
// only require a native library and no supplementary object files to compile.
|
// only require a native library and no supplementary object files to compile.
|
||||||
// This test simply checks that this flag can be passed alongside verbatim syntax
|
// This test simply checks that this flag can be passed alongside verbatim syntax
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// --emit dep-info used to print all macro-generated code it could
|
// --emit dep-info used to print all macro-generated code it could
|
||||||
// find as if it was part of a nonexistent file named "proc-macro source",
|
// find as if it was part of a nonexistent file named "proc-macro source",
|
||||||
// which is not a valid path. After this was fixed in #36776, this test checks
|
// which is not a valid path. After this was fixed in #36776, this test checks
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
||||||
mod scrape;
|
mod scrape;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
||||||
mod scrape;
|
mod scrape;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
||||||
mod scrape;
|
mod scrape;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
mod scrape;
|
mod scrape;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
||||||
mod scrape;
|
mod scrape;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
|
||||||
mod scrape;
|
mod scrape;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
use run_make_support::{htmldocck, rustdoc};
|
use run_make_support::{htmldocck, rustdoc};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// This test makes sure all generic instances get re-exported from Rust dylibs for use by
|
// This test makes sure all generic instances get re-exported from Rust dylibs for use by
|
||||||
// `-Zshare-generics`. There are two rlibs (`instance_provider_a` and `instance_provider_b`)
|
// `-Zshare-generics`. There are two rlibs (`instance_provider_a` and `instance_provider_b`)
|
||||||
// which both provide an instance of `Cell<i32>::set`. There is `instance_user_dylib` which is
|
// which both provide an instance of `Cell<i32>::set`. There is `instance_user_dylib` which is
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
// was shortened down to an appropriate length.
|
// was shortened down to an appropriate length.
|
||||||
// See https://github.com/rust-lang/rust/issues/107910
|
// See https://github.com/rust-lang/rust/issues/107910
|
||||||
|
|
||||||
|
//@ needs-target-std
|
||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
// Reason: the assert_eq! on line 32 fails, as error output on Windows is different.
|
// Reason: the assert_eq! on line 32 fails, as error output on Windows is different.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// A typo in rustc caused generic symbol names to be non-deterministic -
|
// A typo in rustc caused generic symbol names to be non-deterministic -
|
||||||
// that is, it was possible to compile the same file twice with no changes
|
// that is, it was possible to compile the same file twice with no changes
|
||||||
// and get outputs with different symbol names.
|
// and get outputs with different symbol names.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// In this test, the static library foo is made blank, which used to cause
|
// In this test, the static library foo is made blank, which used to cause
|
||||||
// a compilation error. As the compiler now returns Ok upon encountering a blank
|
// a compilation error. As the compiler now returns Ok upon encountering a blank
|
||||||
// staticlib as of #12379, this test checks that compilation is successful despite
|
// staticlib as of #12379, this test checks that compilation is successful despite
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Regression test for https://github.com/rust-lang/rust/issues/128955#issuecomment-2657811196
|
// Regression test for https://github.com/rust-lang/rust/issues/128955#issuecomment-2657811196
|
||||||
// which checks that rustc can read an archive containing LLVM bitcode with a
|
// which checks that rustc can read an archive containing LLVM bitcode with a
|
||||||
// newer version from the one rustc links against.
|
// newer version from the one rustc links against.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Regression test for https://github.com/rust-lang/rust/issues/107407 which
|
// Regression test for https://github.com/rust-lang/rust/issues/107407 which
|
||||||
// checks that rustc can read thin archive. Before the object crate added thin
|
// checks that rustc can read thin archive. Before the object crate added thin
|
||||||
// archive support rustc would add emit object files to the staticlib and after
|
// archive support rustc would add emit object files to the staticlib and after
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//@ needs-target-std
|
||||||
//! This test checks rustc `-` (stdin) support
|
//! This test checks rustc `-` (stdin) support
|
||||||
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
//@ needs-target-std
|
||||||
|
//
|
||||||
// Dynamic libraries on Rust used to export a very high amount of symbols,
|
// Dynamic libraries on Rust used to export a very high amount of symbols,
|
||||||
// going as far as filling the output with mangled names and generic function
|
// going as far as filling the output with mangled names and generic function
|
||||||
// names. After the rework of #38117, this test checks that no mangled Rust symbols
|
// names. After the rework of #38117, this test checks that no mangled Rust symbols
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue