rust/tests/ui/process
Martin Nordholts cde0cde151 Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`
In the stabilization attempt of `#[unix_sigpipe = "sig_dfl"]`, a concern
was raised related to using a language attribute for the feature: Long
term, we want `fn lang_start()` to be definable by any crate, not just
libstd. Having a special language attribute in that case becomes
awkward.

So as a first step towards towards the next stabilization attempt, this
PR changes the `#[unix_sigpipe = "..."]` attribute to a compiler flag
`-Zon-broken-pipe=...` to remove that concern, since now the language
is not "contaminated" by this feature.

Another point was also raised, namely that the ui should not leak
**how** it does things, but rather what the **end effect** is. The new
flag uses the proposed naming. This is of course something that can be
iterated on further before stabilization.
2024-05-02 19:48:29 +02:00
..
core-run-destroy.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
fds-are-cloexec.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
issue-13304.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
issue-14456.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
issue-14940.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
issue-16272.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
issue-20091.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
issue-30490.rs Move tests 2024-03-03 16:30:48 -03:00
multi-panic.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
no-stdio.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
nofile-limit.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
println-with-broken-pipe.rs Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...` 2024-05-02 19:48:29 +02:00
println-with-broken-pipe.run.stderr Fix tests. 2023-07-29 11:47:26 +02:00
println-with-broken-pipe.run.stdout Regression test `println!()` panic message on `ErrorKind::BrokenPipe` 2023-07-26 13:41:39 +02:00
process-envs.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
process-exit.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
process-panic-after-fork.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
process-remove-from-env.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
process-sigpipe.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
process-spawn-nonexistent.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
process-spawn-with-unicode-params.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
process-status-inherits-stdin.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
signal-exit-status.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
sigpipe-should-be-ignored.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
tls-exit-status.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
try-wait.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00