rust/library
Dylan DPC b4536943e3
Rollup merge of #103360 - ChrisDenton:isterm-filetype, r=thomcc
Reduce false positives in msys2 detection

Currently msys2 will be detected by getting the file path and looking to see if it contains the substrings "msys-" and "-ptr" (or "cygwin-" and "-pty"). This risks false positives, especially with filesystem files and if `GetFileInformationByHandleEx` returns a [full path](https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntqueryinformationfile#remarks).

This PR adds a check to see if the handle is a pipe before doing the substring search. Additionally, for "msys2-" or "cygwin-" it only checks if the file name starts with the substring rather than looking at the whole path.
2022-10-22 16:28:09 +05:30
..
alloc Rollup merge of #103346 - HeroicKatora:metadata_of_const_pointer_argument, r=dtolnay 2022-10-22 16:28:09 +05:30
backtrace@07872f28cd
core Rollup merge of #103346 - HeroicKatora:metadata_of_const_pointer_argument, r=dtolnay 2022-10-22 16:28:09 +05:30
panic_abort
panic_unwind
portable-simd separate the receiver from arguments in HIR under /clippy 2022-09-05 22:25:57 +09:00
proc_macro Stabilize proc_macro::Span::source_text 2022-10-18 17:13:41 +02:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #103360 - ChrisDenton:isterm-filetype, r=thomcc 2022-10-22 16:28:09 +05:30
stdarch@790411f93c library: update stdarch submodule 2022-10-13 09:41:16 +08:00
test WinConsole::new is not actually fallible 2022-10-21 12:18:33 +02:00
unwind