about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/llvm
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-10-16 18:19:04 +0100
committervarkor <github@varkor.com>2018-10-16 18:22:25 +0100
commitf40932f106d3670a4b2041d54bf37fa3f49c20f2 (patch)
treec5cf6c0701476e41ac00d3f9663ab0ddf72a7b16 /src/librustc_codegen_llvm/llvm
parent5ea8eb55cd9f4547b332f43c9f723de30187c223 (diff)
downloadrust-f40932f106d3670a4b2041d54bf37fa3f49c20f2.tar.gz
rust-f40932f106d3670a4b2041d54bf37fa3f49c20f2.zip
Fix LLVMRustInlineAsmVerify return type mismatch
Diffstat (limited to 'src/librustc_codegen_llvm/llvm')
-rw-r--r--src/librustc_codegen_llvm/llvm/ffi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_llvm/llvm/ffi.rs b/src/librustc_codegen_llvm/llvm/ffi.rs
index 6108af6c884..0b98fa4eaf5 100644
--- a/src/librustc_codegen_llvm/llvm/ffi.rs
+++ b/src/librustc_codegen_llvm/llvm/ffi.rs
@@ -1212,8 +1212,8 @@ extern "C" {
                              Dialect: AsmDialect)
                              -> &Value;
     pub fn LLVMRustInlineAsmVerify(Ty: &Type,
-                             Constraints: *const c_char)
-                             -> Bool;
+                                   Constraints: *const c_char)
+                                   -> bool;
 
     pub fn LLVMRustDebugMetadataVersion() -> u32;
     pub fn LLVMRustVersionMajor() -> u32;