We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b8c76 commit 4ff03baCopy full SHA for 4ff03ba
crates/stdarch-test/src/disassembly.rs
@@ -125,16 +125,7 @@ fn parse(output: &str) -> HashSet<Function> {
125
cached_header = None;
126
break;
127
}
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") {
+ let parts = if cfg!(target_env = "msvc") {
138
// Each line looks like:
139
//
140
// > $addr: ab cd ef $instr..
0 commit comments