File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ by writing a very simple program.
8989Here's the disassembly. Look at the address of ` HardFaultTrampoline ` .
9090
9191``` console
92- $ cargo objdump --bin app --release -- -d -no-show-raw-insn -print-imm-hex
92+ $ cargo objdump --bin app --release -- -d -- no-show-raw-insn - -print-imm-hex
9393```
9494
9595``` text
@@ -178,7 +178,7 @@ Now we can test this new version against the simple program from before and
178178we'll get the same output.
179179
180180``` console
181- $ cargo objdump --bin app --release -- -d -no-show-raw-insn -print-imm-hex
181+ $ cargo objdump --bin app --release -- -d -- no-show-raw-insn - -print-imm-hex
182182```
183183
184184``` text
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ Breakpoint 1, DefaultExceptionHandler ()
145145And for completeness, here's the disassembly of the optimized version of the program:
146146
147147``` console
148- $ cargo objdump --bin app --release -- -d -no-show-raw-insn -print-imm-hex
148+ $ cargo objdump --bin app --release -- -d -- no-show-raw-insn - -print-imm-hex
149149```
150150
151151``` text
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ $ cat src/main.rs
8989The disassembly will be similar but will now include the user ` main ` function.
9090
9191``` console
92- $ cargo objdump --bin app -- -d -no-show-raw-insn
92+ $ cargo objdump --bin app -- -d -- no-show-raw-insn
9393```
9494
9595``` text
You can’t perform that action at this time.
0 commit comments