Skip to content

Commit 63fb2b9

Browse files
committed
Only run dsymutil on macos.
I have this approach of bundling dsymutil. If there was a library that handled bundling DWARF info then this wouldn't be needed.
1 parent 1c3cca6 commit 63fb2b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

debugvault/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ fn sort_by_shortest_match(input: &[&ArcStr], prefix: &str) -> Vec<String> {
309309
matches
310310
}
311311

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

0 commit comments

Comments
 (0)