Skip to content

Commit 4ff03ba

Browse files
committed
remove assembly parsing special case for otool output (no longer needed)
1 parent 87b8c76 commit 4ff03ba

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

crates/stdarch-test/src/disassembly.rs

+1-10
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,7 @@ fn parse(output: &str) -> HashSet<Function> {
125125
cached_header = None;
126126
break;
127127
}
128-
let parts = if cfg!(target_os = "macos") {
129-
// Each line of instructions should look like:
130-
//
131-
// $addr $instruction...
132-
instruction
133-
.split_whitespace()
134-
.skip(1)
135-
.map(std::string::ToString::to_string)
136-
.collect::<Vec<String>>()
137-
} else if cfg!(target_env = "msvc") {
128+
let parts = if cfg!(target_env = "msvc") {
138129
// Each line looks like:
139130
//
140131
// > $addr: ab cd ef $instr..

0 commit comments

Comments
 (0)