mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
cleanup
This commit is contained in:
parent
c220f0c296
commit
3f87c1b60c
1 changed files with 0 additions and 6 deletions
|
@ -2,7 +2,6 @@ use std::{
|
|||
io::{BufReader, BufWriter},
|
||||
ops::Range,
|
||||
path::Path,
|
||||
time::Instant,
|
||||
};
|
||||
|
||||
use bincode::{deserialize_from, serialize_into};
|
||||
|
@ -92,11 +91,6 @@ pub(crate) fn preprocess_windows(
|
|||
) -> object::read::Result<()> {
|
||||
use object::ObjectSection;
|
||||
|
||||
let total_start = Instant::now();
|
||||
let exec_parsing_start = total_start;
|
||||
|
||||
let _exec_parsing_duration = exec_parsing_start.elapsed();
|
||||
|
||||
let data = open_mmap(host_exe_filename);
|
||||
let new_sections = [*b".text\0\0\0", *b".rdata\0\0"];
|
||||
let mut dynhost = Preprocessor::preprocess(out_filename, &data, &new_sections);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue