Update Cargo.lock

This commit is contained in:
bjorn3
2018-09-05 19:43:42 +02:00
parent 8adc744645
commit d549d0f180
6 changed files with 144 additions and 159 deletions

View File

@@ -83,7 +83,7 @@ mod prelude {
pub use cranelift::codegen::Context;
pub use cranelift::prelude::*;
pub use cranelift_module::{
Backend, DataContext, DataId, FuncId, Linkage, Module, Writability,
Backend, DataContext, DataId, FuncId, Linkage, Module,
};
pub use cranelift_simplejit::{SimpleJITBackend, SimpleJITBuilder};
@@ -239,7 +239,6 @@ impl CodegenBackend for CraneliftCodegenBackend {
],
returns: vec![AbiParam::new(jit_module.pointer_type() /*isize*/)],
call_conv: CallConv::SystemV,
argument_bytes: None,
};
let main_func_id = jit_module
.declare_function("main", Linkage::Import, &sig)
@@ -307,7 +306,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
&metadata_name,
faerie::artifact::Decl::Data {
global: true,
writeable: false,
writable: false,
},
metadata.clone(),
).unwrap();
@@ -442,7 +441,6 @@ fn maybe_create_entry_wrapper<'a, 'tcx: 'a>(
],
returns: vec![AbiParam::new(m.pointer_type() /*isize*/)],
call_conv: CallConv::SystemV,
argument_bytes: None,
};
let cmain_func_id = m