diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-12 11:40:36 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-13 10:21:22 +0000 |
| commit | ead78fdfdf6692b2ecef7f47dfc934011c51fe4c (patch) | |
| tree | 3bf221ad8994bd04b02810c588562dc4b4352685 /compiler/rustc_data_structures/src/jobserver.rs | |
| parent | 8e37e151835d96d6a7415e93e6876561485a3354 (diff) | |
| download | rust-ead78fdfdf6692b2ecef7f47dfc934011c51fe4c.tar.gz rust-ead78fdfdf6692b2ecef7f47dfc934011c51fe4c.zip | |
Remove jobserver from Session
It is effectively a global resource and the jobserver::Client in Session was a clone of GLOBAL_CLIENT anyway.
Diffstat (limited to 'compiler/rustc_data_structures/src/jobserver.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/jobserver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/jobserver.rs b/compiler/rustc_data_structures/src/jobserver.rs index d09f7efc8ff..1204f2d692d 100644 --- a/compiler/rustc_data_structures/src/jobserver.rs +++ b/compiler/rustc_data_structures/src/jobserver.rs @@ -1,6 +1,6 @@ use std::sync::{LazyLock, OnceLock}; -pub use jobserver_crate::Client; +pub use jobserver_crate::{Acquired, Client, HelperThread}; use jobserver_crate::{FromEnv, FromEnvErrorKind}; // We can only call `from_env_ext` once per process |
