about summary refs log tree commit diff
path: root/compiler/rustc_symbol_mangling/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-15 21:16:05 +0200
committerGitHub <noreply@github.com>2025-04-15 21:16:05 +0200
commit8bb01ff117b55dcc3fdee0c3d90b6088fd41e30f (patch)
treebfb52940a3c7a16c7e09182160b073a11b9853c0 /compiler/rustc_symbol_mangling/src
parentb3e55a5c840a93b9455b4b9f00d6895561b3ec5d (diff)
parent1d757833c6aa126e468275c1cd7285dee53a1de6 (diff)
downloadrust-8bb01ff117b55dcc3fdee0c3d90b6088fd41e30f.tar.gz
rust-8bb01ff117b55dcc3fdee0c3d90b6088fd41e30f.zip
Rollup merge of #139824 - ChrisDenton:non-canonical, r=petrochenkov
Remove safe remove

`safe_remove_dir_all` and `safe_remove_file` use `canonicalize` to workaround a `MAX_PATH` limitation. However, this has not been needed in a long time, since the standard library handles this situation itself.

I've kept `safe_remove_file` (without `canonicalize`) because it also returns `Ok` if the file is not found. While, `safe_remove_file` is only used twice, matching on the error kind is sufficiently verbose that maybe it's still worth it?
Diffstat (limited to 'compiler/rustc_symbol_mangling/src')
0 files changed, 0 insertions, 0 deletions