about summary refs log tree commit diff
path: root/compiler/rustc_session/src/config
AgeCommit message (Collapse)AuthorLines
2024-04-15Move --check-cfg documentation to stable booksUrgau-1/+1
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-0/+6
2024-04-05Move cfg and check-cfg configuration in it's own module and add docsUrgau-0/+373
2024-01-12update paths in commentsjoboet-2/+2
2022-10-20Change process spawning to inherit the parent's signal mask by defaultRain-5/+8
Previously, the signal mask is always reset when a child process is started. This breaks tools like `nohup` which expect `SIGHUP` to be blocked. With this change, the default behavior changes to inherit the signal mask. This also changes the signal disposition for `SIGPIPE` to only be changed if the `#[unix_sigpipe]` attribute isn't set.
2022-08-31unix_sigpipe: Inline compiler sigpipe constants in stdMartin Nordholts-0/+2
2022-08-28Support `#[unix_sigpipe = "inherit|sig_dfl|sig_ign"]` on `fn main()`Martin Nordholts-0/+20
This makes it possible to instruct libstd to never touch the signal handler for `SIGPIPE`, which makes programs pipeable by default (e.g. with `./your-program | head -n 1`) without `ErrorKind::BrokenPipe` errors.