mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-31 04:39:28 +00:00
Autodetect endianness based on target triple
This commit is contained in:
@ -200,7 +200,9 @@ impl Compiler for CraneliftCompiler {
|
||||
let (custom_sections, dwarf) = {
|
||||
let mut custom_sections = PrimaryMap::new();
|
||||
let dwarf = if let Some((dwarf_frametable, _cie_id)) = dwarf_frametable {
|
||||
let mut eh_frame = EhFrame(WriterRelocate::default());
|
||||
let mut eh_frame = EhFrame(WriterRelocate::new(
|
||||
self.target().triple().endianness().ok(),
|
||||
));
|
||||
dwarf_frametable
|
||||
.lock()
|
||||
.unwrap()
|
||||
|
Reference in New Issue
Block a user