rust/library
Jonas Schievink 48c4afbf9c
Rollup merge of #78499 - SkiFire13:fix-string-retain, r=m-ou-se
Prevent String::retain from creating non-utf8 strings when abusing panic

Fixes #78498

The idea is the same as `Vec::drain`, set the len to 0 so that nobody can observe the broken invariant if it escapes the function (in this case if `f` panics)
2020-10-29 17:05:28 +01:00
..
alloc Rollup merge of #78499 - SkiFire13:fix-string-retain, r=m-ou-se 2020-10-29 17:05:28 +01:00
backtrace@8b8ea53b56 Bump backtrace-rs to enable Mach-O support on iOS. 2020-10-23 13:47:09 +02:00
core Rollup merge of #75078 - ijackson:slice-strip, r=steveklabnik 2020-10-29 17:05:00 +01:00
panic_abort
panic_unwind
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Clean up intra-doc links in std::path 2020-10-27 20:54:30 -07:00
stdarch@3c3664355e
term
test Auto merge of #78227 - SergioBenitez:test-stdout-threading, r=m-ou-se 2020-10-27 11:43:18 +00:00
unwind