diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-10-17 10:19:46 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-10-19 08:09:40 +1100 |
| commit | 38988e62bc7672e1e85b7db4e3a885608d9a3888 (patch) | |
| tree | e105ee11d0b07cbebfdb2a7943ee330f68bbd7ab /compiler/rustc_interface/src/errors.rs | |
| parent | 63db9e540c4d358c5a0e63423fc16fa9a7979155 (diff) | |
| download | rust-38988e62bc7672e1e85b7db4e3a885608d9a3888.tar.gz rust-38988e62bc7672e1e85b7db4e3a885608d9a3888.zip | |
Use `interface::run_compiler` for `markdown::render`.
It turns out `markdown::render` is more complex than it first appears, because it can invoke `doctest::make_test`, which requires session globals and a thread pool. So this commit changes it to use `interface::run_compiler`. Three of the four paths in `main_args` now use `interface::run_compiler`.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
