Skip to content

Commit 773223a

Browse files
bors[bot]DaQue
andcommitted
Merge #120
120: Minor build-it.md changes r=therealprof a=DaQue 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. Co-authored-by: DaQue <[email protected]>
2 parents 2599e49 + da96475 commit 773223a

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 and build command above will ensure optimizations are off.
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 later in 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)