about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2016-09-26 15:22:22 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2016-09-26 20:50:32 +0300
commit300e13808e679e6224f51705794b234dfd8bf73a (patch)
treef9315cf93ecaceb0307b6cbc76afacf198b9eb6c /src/test/incremental/thinlto
parentb786976a158e79196254f489bb3a6f87e4d16a5a (diff)
downloadrust-300e13808e679e6224f51705794b234dfd8bf73a.tar.gz
rust-300e13808e679e6224f51705794b234dfd8bf73a.zip
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.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions