jyn
d52eb4f99a
Don't require each rustc_interface tool to opt-in to parallel_rustc support
...
Previously, forgetting to call `interface::set_thread_safe_mode` would cause the following ICE:
```
thread 'rustc' panicked at 'uninitialized dyn_thread_safe mode!', /rustc/dfe0683138de0959b6ab6a039b54d9347f6a6355/compiler/rustc_data_structures/src/sync.rs:74:18
```
This calls `set_thread_safe_mode` in `interface::run_compiler` to avoid requiring it in the caller.
Fixes `tests/run-make-fulldeps/issue-19371` when parallel-compiler is enabled.
2023-07-11 22:55:23 -05:00
..
2023-07-06 13:04:13 +00:00
2023-07-07 08:04:48 +00:00
2023-07-04 17:21:52 +00:00
2023-07-11 01:19:11 +02:00
2023-07-11 06:52:53 +00:00
2023-06-28 10:52:48 +08:00
2023-07-07 18:17:16 +02:00
2023-07-05 20:27:07 +01:00
2023-07-10 00:20:56 -07:00
2023-07-11 17:46:19 +02:00
2023-07-08 13:48:30 +00:00
2023-07-03 13:51:54 -07:00
2023-07-03 07:20:51 +00:00
2023-07-11 22:55:23 -05:00
2023-07-07 13:13:18 +00:00
2023-07-03 16:04:18 -04:00
2023-07-03 13:29:15 +02:00
2023-07-04 11:47:45 +00:00
2023-07-08 18:21:34 -03:00
2023-07-08 18:21:34 -03:00
2023-07-11 02:40:59 +00:00
2023-07-11 20:54:00 +00:00
2023-07-11 22:55:23 -05:00
2023-07-05 13:11:17 +02:00
2023-07-11 09:34:48 +00:00
2023-07-11 01:19:11 +02:00
2023-07-10 00:20:56 -07:00
2023-07-02 21:02:31 +02:00
2023-07-02 21:02:31 +02:00
2023-07-08 18:21:34 -03:00
2023-07-11 20:54:00 +00:00
2023-07-08 20:53:29 +02:00
2023-07-11 06:52:53 +00:00
2023-07-07 18:17:16 +02:00
2023-07-08 18:21:34 -03:00
2023-07-05 16:25:46 +08:00
2023-07-08 18:21:34 -03:00
2023-07-08 18:21:34 -03:00
2023-07-05 07:30:28 +00:00
2023-07-10 19:01:30 +00:00
2023-07-03 13:51:54 -07:00
2023-07-10 19:01:30 +00:00
2023-07-10 11:47:48 -07:00
2023-07-11 09:34:48 +00:00
2023-07-05 20:27:07 +01:00
2023-07-05 13:49:01 +00:00
2023-07-11 15:29:47 +00:00
2023-07-06 16:50:12 +00:00
2023-07-01 21:16:25 +02:00
2023-07-08 18:21:34 -03:00
2023-07-06 11:36:39 +01:00