Fix metadata symbol scope

It should be exported from the generated dylib
This commit is contained in:
bjorn3 2019-10-19 11:08:16 +02:00
parent bb5cefe838
commit 4d7f70318a

View File

@ -58,7 +58,7 @@ impl WriteMetadata for object::write::Object {
value: offset,
size: data.len() as u64,
kind: object::SymbolKind::Data,
scope: object::SymbolScope::Compilation,
scope: object::SymbolScope::Dynamic,
weak: false,
section: Some(section_id),
});