Removed genericity over Value in various functions
Prelude to using associated types in traits rather than type parameters
This commit is contained in:
committed by
Eduard-Mihai Burtescu
parent
1ca750683e
commit
9c41e1aa10
@@ -56,7 +56,7 @@ pub fn get_or_insert_gdb_debug_scripts_section_global(cx: &CodegenCx<'ll, '_>)
|
||||
let section_contents = b"\x01gdb_load_rust_pretty_printers.py\0";
|
||||
|
||||
unsafe {
|
||||
let llvm_type = Type::array::<Value>(Type::i8(cx),
|
||||
let llvm_type = Type::array(Type::i8(cx),
|
||||
section_contents.len() as u64);
|
||||
|
||||
let section_var = declare::define_global(cx, section_var_name,
|
||||
|
||||
Reference in New Issue
Block a user