rust/src/libstd/ffi
Aleksey Kladov 300e13808e Remove CString drop test.
The test relies on the undefined behavior, and so may fail in some
circumstances. This can be worked around by stubbing a memory allocator
in the test, but it is a bit of work, and LLVM could still theoretically
eliminate the write of the zero byte in release mode (which is
intended).

So let's just remove the test and mark the function as inline. It
shouldn't be optimized away when inlined into the debug build of user's
code.
2016-09-26 20:50:32 +03:00
..
c_str.rs Remove CString drop test. 2016-09-26 20:50:32 +03:00
mod.rs std: Stabilize APIs for the 1.10 release 2016-05-24 09:00:39 -07:00
os_str.rs Documentation of what does for each type 2016-09-11 17:00:09 +05:30