rust/src/tools/compiletest
Jubilee 3997b62968
Rollup merge of #126256 - ferrocene:lw-target-subst, r=albertlarsan68
Add {{target}} substitution to compiletest

In ferrocene we have ui tests testing the cli interface of the compiler, one of which tests the `--target` flag. To be able to run this on all targets we require a way to specify a valid target in the `compile-flags` directive that is target independent, as otherwise we can only run the test against the one target we choose to supply in the flags. See 383cbc80f4/tests/ui/ferrocene/compiler-arguments/target/target.rs

We figured the project might be able to make use of this substitution as well in the future.

try-job: dist-x86_64-msvc
2024-06-12 03:57:22 -07:00
..
src Rollup merge of #126256 - ferrocene:lw-target-subst, r=albertlarsan68 2024-06-12 03:57:22 -07:00
Cargo.toml Remove lazycell and once_cell from compiletest dependencies 2024-04-27 12:38:51 +01:00