1
Fork 0
rust/compiler/rustc_errors/src
Noratrieb 505b8e1332 Delete the cfg(not(parallel)) serial compiler
Since it's inception a long time ago, the parallel compiler and its cfgs
have been a maintenance burden. This was a necessary evil the allow
iteration while not degrading performance because of synchronization
overhead.

But this time is over. Thanks to the amazing work by the parallel
working group (and the dyn sync crimes), the parallel compiler has now
been fast enough to be shipped by default in nightly for quite a while
now.
Stable and beta have still been on the serial compiler, because they
can't use `-Zthreads` anyways.
But this is quite suboptimal:
- the maintenance burden still sucks
- we're not testing the serial compiler in nightly

Because of these reasons, it's time to end it. The serial compiler has
served us well in the years since it was split from the parallel one,
but it's over now.

Let the knight slay one head of the two-headed dragon!
2024-11-12 13:38:58 +00:00
..
json Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
markdown chore: Fix typos in 'compiler' (batch 1) 2024-09-02 07:42:38 +02:00
annotate_snippet_emitter_writer.rs fix clippy::clone_on_ref_ptr for compiler 2024-10-28 18:05:08 +03:00
codes.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
diagnostic.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
diagnostic_impls.rs compiler: Add rustc_abi dependence to the compiler 2024-10-27 21:10:58 -07:00
emitter.rs fix clippy::clone_on_ref_ptr for compiler 2024-10-28 18:05:08 +03:00
error.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
json.rs fix clippy::clone_on_ref_ptr for compiler 2024-10-28 18:05:08 +03:00
lib.rs Rollup merge of #131344 - nnethercote:ref-Lrc, r=compiler-errors 2024-10-07 12:23:54 +02:00
lock.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
registry.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
snippet.rs Add warn(unreachable_pub) to rustc_errors. 2024-08-27 12:03:37 +10:00
styled_buffer.rs Add warn(unreachable_pub) to rustc_errors. 2024-08-27 12:03:37 +10:00
tests.rs Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
translation.rs Convert Option<&Lrc<T>> return types to Option<&T>. 2024-10-07 13:56:29 +11:00