@@ -13,10 +13,10 @@ use std::process::{Command, Stdio};
1313
1414use anyhow:: { Context , Result , anyhow, bail} ;
1515use atty:: Stream ;
16+ use build_stack:: get_max_stack;
1617use indexmap:: IndexMap ;
1718use multimap:: MultiMap ;
1819use path_slash:: { PathBufExt , PathExt } ;
19- use stack:: get_max_stack;
2020use zerocopy:: IntoBytes ;
2121
2222use crate :: {
@@ -3193,7 +3193,7 @@ fn resolve_task_slots(
31933193 for entry in task_slot:: get_task_slot_table_entries ( & in_task_bin, & elf) ? {
31943194 let in_task_idx = in_task_bin. pread_with :: < u16 > (
31953195 entry. taskidx_file_offset as usize ,
3196- elf :: get_endianness ( & elf) ,
3196+ build_elf :: get_endianness ( & elf) ,
31973197 ) ?;
31983198
31993199 let target_task_name = match task_toml. task_slots . get ( entry. slot_name ) {
@@ -3222,7 +3222,7 @@ fn resolve_task_slots(
32223222 out_task_bin. pwrite_with :: < u16 > (
32233223 target_task_idx as u16 ,
32243224 entry. taskidx_file_offset as usize ,
3225- elf :: get_endianness ( & elf) ,
3225+ build_elf :: get_endianness ( & elf) ,
32263226 ) ?;
32273227
32283228 if cfg. verbose {
@@ -3257,12 +3257,12 @@ fn resolve_caboose_pos(
32573257 out_task_bin. pwrite_with :: < u32 > (
32583258 start,
32593259 entry. caboose_pos_file_offset as usize ,
3260- elf :: get_endianness ( & elf) ,
3260+ build_elf :: get_endianness ( & elf) ,
32613261 ) ?;
32623262 out_task_bin. pwrite_with :: < u32 > (
32633263 end,
32643264 entry. caboose_pos_file_offset as usize + 4 ,
3265- elf :: get_endianness ( & elf) ,
3265+ build_elf :: get_endianness ( & elf) ,
32663266 ) ?;
32673267
32683268 if cfg. verbose {
0 commit comments