about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-06-12 03:57:22 -0700
committerGitHub <noreply@github.com>2024-06-12 03:57:22 -0700
commit3997b62968fb7e724303a3c263ced064d87842d0 (patch)
tree82e76b33c3bfd814498159427c39bec7a5498693 /compiler/rustc_codegen_llvm/src
parent4de77b6d8ad84a494c5b74b23ce4973b4f3dad0f (diff)
parent1462f3d4eb6d5ce18c9c430c10315bc5543090bc (diff)
downloadrust-3997b62968fb7e724303a3c263ced064d87842d0.tar.gz
rust-3997b62968fb7e724303a3c263ced064d87842d0.zip
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 https://github.com/ferrocene/ferrocene/blob/383cbc80f4e85859a4055f121f15dac329908346/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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions