Skip to content

Commit 1d35836

Browse files
bors[bot]robyoung
andauthored
Merge #54
54: Add `--release` flag to README examples r=therealprof a=robyoung I hadn't realised what a big difference it makes. Co-authored-by: Rob Young <[email protected]>
2 parents 42feead + 566d32c commit 1d35836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ run one of the commands below.
3939

4040
*For micro:bit V1*
4141
```bash
42-
> cargo run --manifest-path ./examples/led-blocking/Cargo.toml --features v1 --target thumbv6m-none-eabi
42+
> cargo run --release --manifest-path ./examples/led-blocking/Cargo.toml --features v1 --target thumbv6m-none-eabi
4343
```
4444

4545
*For micro:bit V2*
4646
```bash
47-
> cargo run --manifest-path ./examples/led-blocking/Cargo.toml --features v2 --target thumbv7em-none-eabihf
47+
> cargo run --release --manifest-path ./examples/led-blocking/Cargo.toml --features v2 --target thumbv7em-none-eabihf
4848
```
4949

5050
You should see a lot of build output, the orange LED on the back of the micro:bit should flash quickly and

0 commit comments

Comments
 (0)