diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-08 09:21:59 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-08 09:21:59 -0800 |
| commit | 6a48b181bd0f1c01ad3d29f75a5c858d023990b4 (patch) | |
| tree | 17b7737e116545590b25fb188c97c48da4cc9b83 | |
| parent | cdc75bc34c3a281bf0c49c3a8a31bbe5f8d229d6 (diff) | |
| parent | 78c7faf5a61dbadb757122e35abed4ab9549898d (diff) | |
| download | rust-6a48b181bd0f1c01ad3d29f75a5c858d023990b4.tar.gz rust-6a48b181bd0f1c01ad3d29f75a5c858d023990b4.zip | |
rollup merge of #20736: akiss77/pr-u8-c_char
| -rw-r--r-- | src/librustc_trans/back/lto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans/back/lto.rs b/src/librustc_trans/back/lto.rs index e457de6bc77..b6a6b526fac 100644 --- a/src/librustc_trans/back/lto.rs +++ b/src/librustc_trans/back/lto.rs @@ -142,7 +142,7 @@ pub fn run(sess: &session::Session, llmod: ModuleRef, let cstrs: Vec<CString> = reachable.iter().map(|s| { CString::from_slice(s.as_bytes()) }).collect(); - let arr: Vec<*const i8> = cstrs.iter().map(|c| c.as_ptr()).collect(); + let arr: Vec<*const libc::c_char> = cstrs.iter().map(|c| c.as_ptr()).collect(); let ptr = arr.as_ptr(); unsafe { llvm::LLVMRustRunRestrictionPass(llmod, |
