rust/library/std/src
Ralf Jung ae4b677aa8
Rollup merge of #76521 - tavianator:fix-pthread-getattr-destroy, r=Amanieu
Fix segfault if pthread_getattr_np fails

glibc [destroys][1] the passed pthread_attr_t if pthread_getattr_np()
fails.  Destroying it again leads to a segfault.  Fix it by only
destroying it on success for glibc.

[1]: https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/pthread_getattr_np.c;h=ce437205e41dc05653e435f6188768cccdd91c99;hb=HEAD#l205
2020-09-21 15:30:37 +02:00
..
backtrace std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
collections Rollup merge of #76887 - GuillaumeGomez:hashset-iter-types-examples, r=Dylan-DPC 2020-09-20 15:51:59 +02:00
env std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
error std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f32 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f64 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
ffi Capitalize safety comments 2020-09-08 22:26:44 -04:00
fs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
io Auto merge of #74366 - t-rapp:tr-bufreader-pos, r=LukasKalbertodt 2020-09-07 11:09:41 +00:00
lazy std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
memchr std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
net Make Ipv4Addr and Ipv6Addr const tests unit tests under library 2020-09-03 23:17:21 +02:00
num std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
os library/std: raw: Add support for RISC-V 32-bit 2020-09-16 08:44:35 -07:00
path std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
prelude Fix incorrect link in prelude 2020-09-02 17:38:21 -04:00
process std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
sync Rollup merge of #76936 - danielhenrymantilla:unsafecell_get_mut, r=RalfJung 2020-09-21 10:40:37 +02:00
sys Rollup merge of #76521 - tavianator:fix-pthread-getattr-destroy, r=Amanieu 2020-09-21 15:30:37 +02:00
sys_common library/std: sys_common: Add support for RISC-V 32-bit 2020-09-16 08:45:08 -07:00
thread Use inline(never) instead of cold 2020-09-03 06:31:21 +08:00
time std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
alloc.rs Capitalize safety comments 2020-09-08 22:26:44 -04:00
ascii.rs Convert many files to intra-doc links 2020-09-02 17:37:40 -04:00
backtrace.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
env.rs Improve docs for std::env::args() 2020-09-04 14:00:09 -07:00
error.rs Mark Error impl for LayoutErr as stable. 2020-09-11 13:36:15 +02:00
f32.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f64.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
fs.rs Convert many files to intra-doc links 2020-09-02 17:37:40 -04:00
future.rs Fix stabilization marker for future_readiness_fns 2020-09-15 23:12:08 +02:00
keyword_docs.rs Improve wording for const pointers 2020-09-01 19:44:20 -07:00
lazy.rs Simplify SyncOnceCell's take and drop. 2020-09-12 14:00:38 +02:00
lib.rs Rollup merge of #76936 - danielhenrymantilla:unsafecell_get_mut, r=RalfJung 2020-09-21 10:40:37 +02:00
macros.rs Add missing links 2020-08-22 20:23:50 -07:00
memchr.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
num.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
panic.rs Mark RefUnwindSafe impls for stable atomic types as stable. 2020-09-11 13:36:15 +02:00
panicking.rs Abort when catch_unwind catches a foreign exception 2020-08-27 21:08:30 +01:00
path.rs Rollup merge of #73963 - hellow554:unsafe_path, r=Mark-Simulacrum 2020-09-19 11:47:31 +02:00
primitive_docs.rs Rollup merge of #76164 - lzutao:slice-array, r=ehuss 2020-09-03 02:22:04 +02:00
process.rs Rollup merge of #73955 - hellow554:unsafe_process, r=Mark-Simulacrum 2020-09-16 01:30:28 +02:00
rt.rs Prevent __rust_begin_short_backtrace frames from being tail-call optimised away 2020-08-07 19:31:25 +01:00
time.rs Rollup merge of #76162 - abrausch:documentation-fix-duration_since, r=jyn514 2020-09-09 01:35:10 +02:00