Skip to content

Commit

Permalink
Only run dsymutil on macos.
Browse files Browse the repository at this point in the history
I have this approach of bundling dsymutil. If there was
a library that handled bundling DWARF info then this wouldn't be needed.
  • Loading branch information
WINSDK committed Apr 21, 2024
1 parent 1c3cca6 commit 63fb2b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debugvault/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ fn sort_by_shortest_match(input: &[&ArcStr], prefix: &str) -> Vec<String> {
matches
}

#[cfg(target_os = "macos")]
pub fn macho_dwarf(obj: &object::File, path: &Path) -> Result<Dwarf, dwarf::Error> {
let mut dwarf = Dwarf::parse(obj)?;

Expand Down

0 comments on commit 63fb2b9

Please sign in to comment.