mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
switch from assignment to using the set method for numbers
This commit is contained in:
parent
e88d759331
commit
dbbc621892
2 changed files with 33 additions and 26 deletions
|
@ -1550,8 +1550,8 @@ fn surgery_macho_help(
|
|||
// exec_mmap,
|
||||
// dynsym_offset as usize + *i as usize * mem::size_of::<elf::Sym64<LE >>(),
|
||||
// );
|
||||
// sym.st_value = endian::U64::new(LE , func_virt_offset as u64);
|
||||
// sym.st_size = endian::U64::new(
|
||||
// sym.st_value.set(LE , func_virt_offset as u64);
|
||||
// sym.st_size.set(
|
||||
// LE ,
|
||||
// match app_func_size_map.get(func_name) {
|
||||
// Some(size) => *size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue