diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-03-25 09:46:19 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-04-26 07:46:13 +0200 |
| commit | 66d85438cad26aee7ff0d123739edcc43e16bc4a (patch) | |
| tree | ede9fb4276cd3f05176419c20adeebb84255558e /compiler/rustc_session | |
| parent | 897a146006d1ceba4aeeffca5640fe1d9024b200 (diff) | |
| download | rust-66d85438cad26aee7ff0d123739edcc43e16bc4a.tar.gz rust-66d85438cad26aee7ff0d123739edcc43e16bc4a.zip | |
Remove QueryEngine trait
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/session.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs index 14a8e8ff727..aa22140c99d 100644 --- a/compiler/rustc_session/src/session.rs +++ b/compiler/rustc_session/src/session.rs @@ -1190,6 +1190,7 @@ impl Session { /// Returns the number of query threads that should be used for this /// compilation + #[inline] pub fn threads(&self) -> usize { self.opts.unstable_opts.threads } |
