diff options
| author | bors <bors@rust-lang.org> | 2018-05-13 01:18:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-13 01:18:45 +0000 |
| commit | 844bc65333184f90670e950233513e5c7bf0572e (patch) | |
| tree | 3ac727d32c1a80bd4874923766b09a1a6324763d /src/libsyntax | |
| parent | 6fb34bdfc6d46a6ca3dc53e515a6084bbe008c07 (diff) | |
| parent | 4afdae633d34384b0582c209f38d1f89ae4aa673 (diff) | |
Auto merge of #50235 - Zoxc:rayon, r=michaelwoerister
Add a Rayon thread pool r? @michaelwoerister
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index f148aaf7267..90af3ba51ec 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -73,7 +73,7 @@ macro_rules! unwrap_or { } } -struct Globals { +pub struct Globals { used_attrs: Lock<Vec<u64>>, known_attrs: Lock<Vec<u64>>, syntax_pos_globals: syntax_pos::Globals, @@ -98,7 +98,7 @@ pub fn with_globals<F, R>(f: F) -> R }) } -scoped_thread_local!(static GLOBALS: Globals); +scoped_thread_local!(pub static GLOBALS: Globals); #[macro_use] pub mod diagnostics { |
