about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2023-07-13 02:12:57 -0500
committerjyn <github@jyn.dev>2023-07-15 12:27:53 -0500
commit63d7992353b7250e150a377d1ca499e869de55f7 (patch)
treecb05c1c223aed096c0b7f19e626c6e33e7a53aa8 /compiler/rustc_codegen_llvm/src
parent4d6e4260b2de66a356a2536320f339467dff0d2b (diff)
downloadrust-63d7992353b7250e150a377d1ca499e869de55f7.tar.gz
rust-63d7992353b7250e150a377d1ca499e869de55f7.zip
Deduplicate `Builder::try_run` and mark `Config::try_run` as deprecated
This does three things:
1. Remove `forward!(Build, fn try_run())`. Having `try_run` behave differently as a free function than an associated function is confusing, and `Builder::try_run` is a very desirable name.
2. Move `test::try_run` and `run::try_run` to `Builder::try_run`. These functions are different than `Config::try_run` - they delay the failure and print it out at the end of the build.
3. Mark `Config::try_run` as deprecated to encourage people to use `Builder::try_run` instead.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions