Uh oh!
There was an error while loading. Please reload this page.
Use multiple threads by default. Limits tests to one thread. Do some renaming. - #57948
Conversation
This comment has been minimized.
This comment has been minimized.
| // The interner is pointed to by a thread local value which is only set on the main thread | ||
| // with parallelization is disabled. So we don't allow `Symbol` to transfer between threads | ||
| // to avoid panics and other errors, even though it would be memory safe to do so. | ||
| #[cfg(not(parallel_queries))] |
There was a problem hiding this comment.
CFGs like these seem very prone to invisible breakage (if we end up not running either configuration on CI). Perhaps we should maintain parallel-able code in all configurations?
There was a problem hiding this comment.
We do check both on PRs on Travis at least.
| "print the AST as JSON and halt"), | ||
| query_threads: Option<usize> = (None, parse_opt_uint, [UNTRACKED], | ||
| "execute queries on a thread pool with N threads"), | ||
| threads: Option<usize> = (None, parse_opt_uint, [UNTRACKED], |
There was a problem hiding this comment.
Is there any support for jobserver or is this a static quantity? Perhaps the documentation should be adjusted either way?
This comment has been minimized.
This comment has been minimized.
wesleywiser
commented
Jan 29, 2019
(I'm assuming we will want a perf run here?) @bors try |
bors
commented
Jan 29, 2019
⌛ Trying commit fd9d9ee with merge a8571c0a49643e461ab10f2410709f5a9e9c1b00... |
bors
commented
Jan 29, 2019
☀️ Test successful - checks-travis |
michaelwoerister
commented
Jan 29, 2019
bors
commented
Jan 29, 2019
📌 Commit fd9d9ee has been approved by |
bors
commented
Jan 29, 2019
Use multiple threads by default. Limits tests to one thread. Do some renaming. r? @michaelwoerister
bors
commented
Jan 29, 2019
☀️ Test successful - checks-travis, status-appveyor |
bors
commented
Jan 29, 2019
☀️ Test successful - checks-travis, status-appveyor |
r? @michaelwoerister