diff options
| author | bors <bors@rust-lang.org> | 2018-12-04 23:40:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-04 23:40:06 +0000 |
| commit | abe02cefd6cd1916df62ad7dc80161bea50b72e8 (patch) | |
| tree | f0da4847d4839eb456ac3cd57204d5a756de44ef /src/librustc_driver/driver.rs | |
| parent | bdb3f532d7a393b1da512dbc1bed65c9eb63846e (diff) | |
| parent | 6d54f6d6b1181e6fa7c5934ea3b4d6bfd1775512 (diff) | |
| download | rust-1.31.0.tar.gz rust-1.31.0.zip | |
Auto merge of #56518 - pietroalbini:stable-additions, r=pietroalbini 1.31.0
[stable] Add a few critical fixes to the 1.31.0 release This PR cherry-picks the following PRs to stable: * #56467: Bump stack size to 32MB * #56486: Propagate all closure requirements to the caller * #56519: update edition guide The changes will be included in the final 1.31.0 binary (to avoid a point release). To deploy the build to dev-static the old manifest needs to be removed from the bucket after the PR is merged. cc @rust-lang/core @rust-lang/release @rust-lang/compiler r? @alexcrichton
Diffstat (limited to 'src/librustc_driver/driver.rs')
| -rw-r--r-- | src/librustc_driver/driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 7ad012409b5..07803d06598 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -91,7 +91,7 @@ pub fn spawn_thread_pool<F: FnOnce(config::Options) -> R + sync::Send, R: sync:: let config = ThreadPoolBuilder::new() .num_threads(Session::query_threads_from_opts(&opts)) .deadlock_handler(|| unsafe { ty::query::handle_deadlock() }) - .stack_size(16 * 1024 * 1024); + .stack_size(::STACK_SIZE); let with_pool = move |pool: &ThreadPool| { pool.install(move || f(opts)) |
