Skip to content

Commit

Permalink
Fixed some warnings on build script
Browse files Browse the repository at this point in the history
  • Loading branch information
matux committed May 4, 2023
1 parent e630438 commit ec710ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ators/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ use memmap2::Mmap;
use object::Object;
use std::{
env, fs,
io::{self, BufRead, Write},
io::{self, Write},
path::PathBuf,
process::Command,
};
#[cfg(target_os = "macos")]
use std::{io::BufRead, process::Command};

#[cfg(target_os = "macos")]
const ATOS: &str = "/usr/bin/atos";

const TEST_DWARF: &str = "test.dwarf";
const TEST_ADDRS: &str = "test_addrs.txt";

#[cfg(target_os = "macos")]
const TEST_SYMR: &str = "test_symr.txt";

fn main() -> Result<()> {
Expand Down

0 comments on commit ec710ff

Please sign in to comment.