rust/compiler/rustc
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
..
src rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-02 17:49:36 +02:00
build.rs Don't rerun the build script for the compiler each time on linux 2022-07-10 23:57:25 -05:00
Cargo.toml
Windows Manifest.xml