Update faerie to 0.9.1
This commit is contained in:
committed by
Dan Gohman
parent
db0abe8431
commit
94ca967d0a
@@ -12,15 +12,8 @@ fn emit_vmcontext_init(
|
||||
target_config: &TargetFrontendConfig,
|
||||
) -> Result<(), String> {
|
||||
let (data, table_relocs) = layout_vmcontext(module, target_config);
|
||||
obj.declare_with(
|
||||
"_vmcontext_init",
|
||||
Decl::Data {
|
||||
writable: false,
|
||||
global: true,
|
||||
},
|
||||
data.to_vec(),
|
||||
)
|
||||
.map_err(|err| format!("{}", err))?;
|
||||
obj.declare_with("_vmcontext_init", Decl::data().global(), data.to_vec())
|
||||
.map_err(|err| format!("{}", err))?;
|
||||
for reloc in table_relocs.iter() {
|
||||
let target_name = format!("_table_{}", reloc.index);
|
||||
obj.link(Link {
|
||||
|
||||
Reference in New Issue
Block a user