Skip to content

Fix build error that assigning to &T is undefined behavior #45

Fix build error that assigning to &T is undefined behavior

Fix build error that assigning to &T is undefined behavior #45

Workflow file for this run

on:
push:
branches: [ staging, trying, master ]
pull_request:
name: CI
jobs:
ci-linux:
runs-on: ubuntu-20.04
strategy:
matrix:
rust: [stable, nightly]
target: [x86_64-unknown-linux-gnu, riscv32imac-unknown-none-elf]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Install Rust target
run: rustup target install --toolchain=${{ matrix.rust }} ${{ matrix.target }}
- name: Check code
run: cargo check --target ${{ matrix.target }}
- name: Check rt feature
run: cargo check --target ${{ matrix.target }} --features rt