about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-08-14 23:40:28 -0700
committerKevin Ballard <kevin@sb.org>2013-08-15 01:33:10 -0700
commit5ca4cdc7b8fb8b9c3fd1a6160db31ff2f4b5b957 (patch)
tree5d359043430260f6d188a914a61bc62b90ac0519 /src/rt/rust_stack.cpp
parentf744cf157ef7c85736796eca937aa43cbd681a0a (diff)
downloadrust-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