diff --git a/examples/bare1.rs b/examples/bare1.rs index 473855af2fe075e833b23ffc9d498d1d6c028bb7..48a0c4ea0d950844142250c2a03156df1938f6ff 100644 --- a/examples/bare1.rs +++ b/examples/bare1.rs @@ -197,9 +197,12 @@ fn main() -> ! { // > cargo build --example bare1 --release // (or using the vscode build task) // -// Compare the generated assembly for the loop -// between the dev (unoptimized) and release (optimized) build. -// +// Dump of assembler code for function main: + // 0x08000400 <+0>: nop + // 0x08000402 <+2>: bkpt 0x0000 +// => 0x08000404 <+4>: b.n 0x8000400 <main> +// End of assembler dump. +// Of course this is much shorter, since it is optimized // // commit your answers (bare1_5) //