Skip to content

Commit f15d14d

Browse files
authored
Minor build-it.md changes
Explain as provided build command and Cargo.toml file will handle turning off optimizations and improve the verbiage about this build doesn't blink the lights.
1 parent 2599e49 commit f15d14d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/05-led-roulette/build-it.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ $ cargo build --target thumbv7em-none-eabihf
4545
Finished dev [unoptimized + debuginfo] target(s) in 35.84 secs
4646
```
4747

48-
> **NOTE** Be sure to compile this crate *without* optimizations
48+
> **NOTE** Be sure to compile this crate *without* optimizations. The provided Cargo.toml file used with the build command givn above will ensure optimizations are off. Just don't add any extra build options.
4949
50-
OK, now we have produced an executable. This isn't a version that will actually blink any leds but a simplified version we will build on through the rest of the chapter. As a sanity check, let's verify that the produced executable is actually an ARM binary:
50+
OK, now we have produced an executable. This executable won't blink any leds, it's just a simplified version that we will build upon through out the rest of the chapter. As a sanity check, let's verify that the produced executable is actually an ARM binary:
5151

5252
``` console
5353
$ # equivalent to `readelf -h target/thumbv7em-none-eabihf/debug/led-roulette`

0 commit comments

Comments
 (0)