368: Mod over const r=korken89 a=AfoHT

Related [RFC](https://github.com/rtic-rs/rfcs/pull/34)

Dependent on [rtic-syntax-PR30](https://github.com/rtic-rs/rtic-syntax/pull/30)

~~Currently using my own dev-branch~~

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
This commit is contained in:
bors[bot] 2020-10-05 08:40:19 +00:00 committed by GitHub
commit dbf9a7f298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 638 additions and 333 deletions

View file

@ -45,7 +45,6 @@ jobs:
- x86_64-unknown-linux-gnu
toolchain:
- stable
- 1.36.0
steps:
- name: Checkout
uses: actions/checkout@v2
@ -79,10 +78,6 @@ jobs:
target: ${{ matrix.target }}
override: true
- name: Disable optimisation profiles
if: matrix.toolchain == '1.36.0'
run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml
- name: cargo check
uses: actions-rs/cargo@v1
with:
@ -306,7 +301,6 @@ jobs:
- x86_64-unknown-linux-gnu
toolchain:
- stable
- 1.36.0
steps:
- name: Checkout
uses: actions/checkout@v2
@ -340,10 +334,6 @@ jobs:
target: ${{ matrix.target }}
override: true
- name: Disable optimisation profiles
if: matrix.toolchain == '1.36.0'
run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml
- name: cargo check
uses: actions-rs/cargo@v1
with:
@ -382,13 +372,10 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.36.0
toolchain: stable
target: thumbv7m-none-eabi
override: true
- name: Disable optimisation profiles
run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml
- uses: actions-rs/cargo@v1
with:
use-cross: false
@ -426,13 +413,10 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.36.0
toolchain: stable
target: thumbv6m-none-eabi
override: true
- name: Disable optimisation profiles
run: sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml
- uses: actions-rs/cargo@v1
with:
use-cross: false