Skip to content

Commit 62bbb2c

Browse files
bors[bot]japaric
andcommitted
Merge #35
35: switch ci to stable and recommend using a stable toolchain r=therealprof a=japaric Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2 parents c5352fa + 1753fa4 commit 62bbb2c

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: rust
22

33
matrix:
44
include:
5-
- rust: beta
5+
- rust: stable
66
- rust: nightly
77

88
install:

ci/exceptions/app/app.objdump

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ __aeabi_memset:
9090
fc: adds r3, r0, r1
9191
fe: adds r1, #0x4
9292
100: cmp lr, r1
93-
102: strb r2, [r3, #0x1]
93+
102: strb r2, [r3, #0x3]
9494
104: strb r2, [r3, #0x2]
95-
106: strb r2, [r3, #0x3]
95+
106: strb r2, [r3, #0x1]
9696
108: bne #-0x12 <__aeabi_memset+0x1c>
9797
10a: cmp.w r12, #0x0
9898
10e: pop.w {r7, lr}

ci/script.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ main() {
1616
cargo rustc -- --emit=obj
1717

1818
# check that the output is an empty binary
19-
diff app.size \
19+
# NOTE(-b) ignore change in whitespace
20+
diff -b app.size \
2021
<(cargo size --bin app)
2122

2223
# check presence of the `rust_begin_unwind` symbol

ci/smallest-no-std/app.size

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
text data bss dec hex filename
2-
0 0 0 0 0 app
1+
text data bss dec hex filename
2+
0 0 0 0 0 app

src/preface.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ book:
4444
- All the code in this book uses the 2018 edition. If you are not familiar with
4545
the 2018 features and idioms check [the edition guide].
4646

47-
- Rust 1.30, 1.30-beta, nightly-2018-09-13, or a newer toolchain PLUS ARM
48-
Cortex-M compilation support.
47+
- Rust 1.31 or a newer toolchain PLUS ARM Cortex-M compilation support.
4948

5049
- [`cargo-binutils`](https://github.com/japaric/cargo-binutils). v0.1.4 or newer.
5150

@@ -63,11 +62,11 @@ Instructions common to all OSes
6362
``` console
6463
$ # Rust toolchain
6564
$ # If you start from scratch, get rustup from https://rustup.rs/
66-
$ rustup default beta
65+
$ rustup default stable
6766

6867
$ # toolchain should be newer than this one
6968
$ rustc -V
70-
rustc 1.30.0-beta.1 (14f51b05d 2018-09-18)
69+
rustc 1.31.0 (abe02cefd 2018-12-04)
7170

7271
$ rustup target add thumbv7m-none-eabi
7372

0 commit comments

Comments
 (0)