diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-05-14 17:49:14 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-15 13:50:24 -0700 |
| commit | ef788d51dd17cac158752f120347a9eaa5d89d98 (patch) | |
| tree | 2e7c26aa0c3e7e15ef6cf7da1d88890f2aaae524 /src/rustllvm/RustWrapper.cpp | |
| parent | bfbd732daebe5f7cd26e3244a6377f0e3ab34d0f (diff) | |
| download | rust-ef788d51dd17cac158752f120347a9eaa5d89d98.tar.gz rust-ef788d51dd17cac158752f120347a9eaa5d89d98.zip | |
std: Modify TempDir to not fail on drop. Closes #12628
After discussion with Alex, we think the proper policy is for dtors to not fail. This is consistent with C++. BufferedWriter already does this, so this patch modifies TempDir to not fail in the dtor, adding a `close` method for handling errors on destruction.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
