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-04 18:37:30 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2016-09-07 22:17:58 +0300
commit04b776e5eca7aa49618a1425f08c8825e51b19dc (patch)
tree7976b9a8c387b3c496a53413896ec48e612a63fd /src/test/incremental/thinlto
parent1d04201565790e17890f300c2bedeab6b895c313 (diff)
downloadrust-04b776e5eca7aa49618a1425f08c8825e51b19dc.tar.gz
rust-04b776e5eca7aa49618a1425f08c8825e51b19dc.zip
Zero first byte of CString on drop
This should prevent code like

```
let ptr = CString::new("hello").unwrap().as_ptr();
```

from working by accident.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions