diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-08-14 23:40:28 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-08-15 01:33:10 -0700 |
| commit | 5ca4cdc7b8fb8b9c3fd1a6160db31ff2f4b5b957 (patch) | |
| tree | 5d359043430260f6d188a914a61bc62b90ac0519 /src/rt/rust_stack.cpp | |
| parent | f744cf157ef7c85736796eca937aa43cbd681a0a (diff) | |
| download | rust-5ca4cdc7b8fb8b9c3fd1a6160db31ff2f4b5b957.tar.gz rust-5ca4cdc7b8fb8b9c3fd1a6160db31ff2f4b5b957.zip | |
Remove inappropriate .to_c_str() in C_cstr()
LLVMConstStringInContext() doesn't need a null-terminated string. It takes a length instead. Using .to_c_str() here triggers an ICE whenever the string literal embeds a null, as in "\x00".
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
