rust/library/std
Trevor Gross 2fe41869c9
Rollup merge of #130914 - compiler-errors:insignificant-dtor, r=Amanieu
Mark some more types as having insignificant dtor

These were caught by https://github.com/rust-lang/rust/pull/129864#issuecomment-2376658407, which is implementing a lint for some changes in drop order for temporaries in tail expressions.

Specifically, the destructors of `CString` and the bitpacked repr for `std::io::Error` are insignificant insofar as they don't have side-effects on things like locking or synchronization; they just free memory.

See some discussion on #89144 for what makes a drop impl "significant"
2024-09-30 19:18:50 -04:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Rollup merge of #130914 - compiler-errors:insignificant-dtor, r=Amanieu 2024-09-30 19:18:50 -04:00
tests Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
build.rs Enable f16 on platforms that were missing conversion symbols 2024-09-27 18:15:02 -04:00
Cargo.toml Update compiler_builtins to 0.1.130 2024-09-28 11:25:47 -04:00