rust/compiler
Martin Nordholts 093b075d32 rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler
This is the first (known) step towards starting to use `unix_sigpipe` in
the wild. Eventually, `rustc_driver::set_sigpipe_handler` can be removed
and all clients can use `unix_sigpipe` instead.

For now we just start using `unix_sigpipe` in once place: `rustc`
itself.

It is easy to manually verify this change. If you remove
`#[unix_sigpipe = "sig_dfl"]` and run `./x.py build` you will get an ICE
when you do `./build/x86_64-unknown-linux-gnu/stage1/bin/rustc --help |
false`. Add back `#[unix_sigpipe = "sig_dfl"]` and the ICE disappears
again.
2022-10-02 17:49:36 +02:00
..
rustc rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-02 17:49:36 +02:00
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #102493 - nnethercote:improve-size-assertions-some-more, r=lqd 2022-09-30 23:38:27 +02:00
rustc_ast_lowering create def ids for impl traits during ast lowering 2022-09-30 15:12:01 -03:00
rustc_ast_passes Rollup merge of #102273 - woppopo:relax_const_bound, r=fee1-dead 2022-09-26 19:19:21 +02:00
rustc_ast_pretty make mk_attr_id part of ParseSess 2022-09-14 08:49:10 +08:00
rustc_attr remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_borrowck Generate synthetic impl region even in closure body in associated fn 2022-09-29 22:32:28 +00:00
rustc_builtin_macros Fix format_args capture for macro expanded format strings 2022-09-30 17:40:14 +01:00
rustc_codegen_cranelift Stabilize bench_black_box 2022-09-27 17:38:51 +02:00
rustc_codegen_gcc Rollup merge of #101075 - ellishg:rustc_codegen_gcc_diagnostics, r=davidtwco 2022-09-30 10:22:36 +02:00
rustc_codegen_llvm Auto merge of #102424 - sunfishcode:sunfishcode/hidden-main, r=nagisa 2022-10-02 04:12:09 +00:00
rustc_codegen_ssa Rollup merge of #102426 - sunfishcode:sunfishcode/no-wasm-init-memory, r=nagisa 2022-09-29 10:15:18 -07:00
rustc_const_eval Refactor rustc lint API 2022-10-01 10:03:06 +00:00
rustc_data_structures Use a SortedMap instead of a VecMap. 2022-10-01 16:24:30 +02:00
rustc_driver rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
rustc_error_codes Auto merge of #100719 - CohenArthur:rust-safe-intrinsic-attribute, r=wesleywiser 2022-09-28 19:07:50 +00:00
rustc_error_messages Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebank 2022-10-01 10:44:25 +00:00
rustc_errors Compute lint_levels by definition 2022-10-01 16:12:50 +02:00
rustc_expand Rewrite and refactor format_args!() builtin macro. 2022-09-27 13:13:08 +02:00
rustc_feature attributes: Add #[rustc_safe_intrinsic] builtin 2022-09-27 15:55:42 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
rustc_hir_analysis Rollup merge of #102500 - compiler-errors:parse-sess-cleanup, r=cjgillot 2022-10-01 16:45:05 +02:00
rustc_hir_pretty
rustc_incremental remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_index Rollup merge of #102232 - Urgau:stabilize-bench_black_box, r=TaKO8Ki 2022-09-28 13:07:17 +09:00
rustc_infer Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
rustc_interface Fix typo 2022-09-30 21:02:53 +02:00
rustc_lexer Auto merge of #102302 - nnethercote:more-lexer-improvements, r=matklad 2022-09-28 08:14:04 +00:00
rustc_lint Add sanity Drop impl. 2022-10-01 16:24:44 +02:00
rustc_lint_defs Compute lint_levels by definition 2022-10-01 16:12:50 +02:00
rustc_llvm Avoid LLVM-deprecated Optional::hasValue 2022-09-26 16:51:18 -07:00
rustc_log
rustc_macros Refactor rustc lint API 2022-10-01 10:03:06 +00:00
rustc_metadata Auto merge of #102164 - compiler-errors:rpitit-foreign, r=TaKO8Ki 2022-09-30 04:24:14 +00:00
rustc_middle Use a SortedMap instead of a VecMap. 2022-10-01 16:24:30 +02:00
rustc_mir_build Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebank 2022-10-01 10:44:25 +00:00
rustc_mir_dataflow remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_mir_transform Refactor rustc lint API 2022-10-01 10:03:06 +00:00
rustc_monomorphize remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_parse Rollup merge of #102500 - compiler-errors:parse-sess-cleanup, r=cjgillot 2022-10-01 16:45:05 +02:00
rustc_parse_format Fix span of byte-escaped left format args brace 2022-09-28 13:47:17 -07:00
rustc_passes Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebank 2022-10-01 10:44:25 +00:00
rustc_plugin_impl UPDATE - rename DiagnosticHandler macro to Diagnostic 2022-09-21 11:39:53 -04:00
rustc_privacy Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
rustc_query_impl Correct Key impl for HirId. 2022-10-01 16:20:08 +02:00
rustc_query_system Allow query system to recover a HirId. 2022-10-01 15:58:42 +02:00
rustc_resolve Rollup merge of #102483 - spastorino:create-defs-on-lowering, r=cjgillot 2022-09-30 23:38:25 +02:00
rustc_save_analysis Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
rustc_serialize remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_session Remove expr_parentheses_needed from ParseSess 2022-09-30 01:39:20 +00:00
rustc_smir
rustc_span Rollup merge of #102382 - cuviper:defid-order, r=fee1-dead 2022-09-30 19:06:05 +02:00
rustc_symbol_mangling separate definitions and HIR owners 2022-09-24 23:21:19 +09:00
rustc_target Adjust the s390x data layout for LLVM 16 2022-09-29 18:18:26 -07:00
rustc_trait_selection Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebank 2022-10-01 10:44:25 +00:00
rustc_traits remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_transmute rustc_transmute: fix big-endian discriminants 2022-09-20 13:03:43 -07:00
rustc_ty_utils rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
rustc_type_ir