rust-analyzer/crates
Martin Nordholts 938e1a0e2c 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
..
base-db Fix tests being non-deterministic 2024-04-19 13:22:00 +02:00
cfg Fix tests being non-deterministic 2024-04-19 13:22:00 +02:00
flycheck Run cargo test per workspace in the test explorer 2024-04-13 06:22:58 +03:30
hir Add in-rust-tree feature to hir-expand 2024-04-20 18:44:27 +03:00
hir-def Change SIGPIPE ui from #[unix_sigpipe = "..."] to -Zon-broken-pipe=... 2024-05-02 19:48:29 +02:00
hir-expand Add in-rust-tree feature to hir-expand 2024-04-20 18:44:27 +03:00
hir-ty Add in-rust-tree feature to hir-expand 2024-04-20 18:44:27 +03:00
ide Render matched macro arm on hover of macro calls 2024-04-18 10:51:58 +02:00
ide-assists Add convert From to TryFrom assist 2024-04-19 08:29:20 +01:00
ide-completion Revert "Auto merge of #17073 - roife:better-inline-preview, r=Veykril" 2024-04-15 18:24:15 -04:00
ide-db Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
ide-diagnostics Auto merge of #17055 - wyatt-herkamp:fix_panic_at_unused_variable, r=Veykril 2024-04-17 10:11:03 +00:00
ide-ssr internal: Thread edition through to parsing/tt-to-syntax-tree routines for macros 2024-04-14 16:02:38 +02:00
intern Fix new clippy lints 2024-04-01 17:55:56 +02:00
limit Simplify 2024-04-06 13:12:07 +02:00
load-cargo Add in-rust-tree feature to hir-expand 2024-04-20 18:44:27 +03:00
mbe Cleanup 2024-04-18 11:00:22 +02:00
parser Merge commit '55d9a533b309119c8acd13061581b43ae8840823' into sync-from-ra 2024-04-20 19:17:08 +03:00
paths fix: Don't assert paths being utf8 when filtering them in the watcher 2024-03-22 08:04:50 +01:00
proc-macro-api Fix tests being non-deterministic 2024-04-19 13:22:00 +02:00
proc-macro-srv Auto merge of #16257 - lnicola:rustc-check-cfg, r=Veykril 2024-04-18 12:13:06 +00:00
proc-macro-srv-cli Auto merge of #16257 - lnicola:rustc-check-cfg, r=Veykril 2024-04-18 12:13:06 +00:00
profile Cleanup 2024-03-04 11:10:06 +01:00
project-model Correctly populate detached files roots 2024-04-19 18:25:10 +02:00
rust-analyzer Add in-rust-tree feature to hir-expand 2024-04-20 18:44:27 +03:00
salsa Fix new clippy lints 2024-04-01 17:55:56 +02:00
sourcegen Fix new clippy lints 2024-04-01 17:55:56 +02:00
span Cleanup 2024-04-18 11:00:22 +02:00
stdx Remove dead test code 2024-03-14 16:24:51 +01:00
syntax fix: replace unescape fn with the one in ra-ap-rustc_lexer 2024-04-19 20:32:53 +08:00
test-fixture Fix tests being non-deterministic 2024-04-19 13:22:00 +02:00
test-utils Fix new clippy lints 2024-04-01 17:55:56 +02:00
text-edit Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
toolchain internal: Enforce utf8 paths 2024-03-19 15:39:00 +01:00
tt internal: Remove span trait 2024-03-21 20:08:30 +01:00
vfs [vfs] Don't confuse paths with source roots that have the same prefix 2024-04-08 15:48:04 -07:00
vfs-notify fix: VFS should not walk circular symlinks 2024-04-17 14:40:01 -07:00