mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
chore: cargo fmt
This commit is contained in:
parent
43f970f813
commit
3edc551043
2 changed files with 4 additions and 9 deletions
|
@ -19,10 +19,8 @@ use roc_collections::{MutMap, VecMap};
|
|||
use roc_error_macros::internal_error;
|
||||
|
||||
use crate::{
|
||||
generate_dylib::APP_DLL,
|
||||
load_struct_inplace, load_struct_inplace_mut, load_structs_inplace_mut, open_mmap,
|
||||
open_mmap_mut,
|
||||
util::is_roc_definition,
|
||||
generate_dylib::APP_DLL, load_struct_inplace, load_struct_inplace_mut,
|
||||
load_structs_inplace_mut, open_mmap, open_mmap_mut, util::is_roc_definition,
|
||||
};
|
||||
|
||||
/// The metadata stores information about/from the host .exe because
|
||||
|
@ -193,10 +191,7 @@ pub(crate) fn preprocess_windows(
|
|||
Ok(obj) => obj,
|
||||
Err(e) => internal_error!("Failed to parse shared library file: {e}"),
|
||||
};
|
||||
let dummy_dll_symbols = shared_lib_obj
|
||||
.symbols()
|
||||
.filter(is_roc_definition)
|
||||
.count();
|
||||
let dummy_dll_symbols = shared_lib_obj.symbols().filter(is_roc_definition).count();
|
||||
|
||||
let new_sections = [*b".text\0\0\0", *b".rdata\0\0"];
|
||||
let mut preprocessed = Preprocessor::preprocess(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue