about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-06-23 00:20:20 +0200
committerGitHub <noreply@github.com>2021-06-23 00:20:20 +0200
commit6023ac2c8d10661f7a4f405edf795d956c927620 (patch)
tree53b9e114905083534218d58139be7164bc33ecae /library/std/src/sys/unix/stack_overflow.rs
parentaf9e5d1a14be84830008204627b489f94c4aad24 (diff)
parente0d70153cdee47421b0ec9220dc8fea65f243cfe (diff)
downloadrust-6023ac2c8d10661f7a4f405edf795d956c927620.tar.gz
rust-6023ac2c8d10661f7a4f405edf795d956c927620.zip
Rollup merge of #86521 - the8472:add-footgun-comments, r=RalfJung
Add comments around code where ordering is important due for panic-safety

Iterators contain arbitrary code which may panic. Unsafe code has to be
careful to do its state updates at the right point between calls that may panic.

As requested in https://github.com/rust-lang/rust/pull/86452#discussion_r655153948

r? `@RalfJung`
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions