about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorBarosl Lee <vcs@barosl.com>2014-11-12 02:50:44 +0900
committerBarosl Lee <vcs@barosl.com>2014-11-19 05:31:45 +0900
commitb5286af703e33bd36744fe4cd5bb24f71dbb524e (patch)
tree65d05bc5f3b5d8777ca44f6b5687732c47629610 /src/libstd/sys/unix/stack_overflow.rs
parent5de56b3ca1defd9206db8364ecef5f3fd8cc5b38 (diff)
downloadrust-b5286af703e33bd36744fe4cd5bb24f71dbb524e.tar.gz
rust-b5286af703e33bd36744fe4cd5bb24f71dbb524e.zip
Make os::setenv() and os::unsetenv() panic if an error occurs
These functions can fail if:

- EINVAL: The name is empty, or contains an '=' character
- ENOMEM: Insufficient memory
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions