Skip to content

Remove mut slice in rx path #3

Remove mut slice in rx path

Remove mut slice in rx path #3

Workflow file for this run

name: Deploy docs
on:
push:
branches: [main]
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -D warnings
steps:
- uses: actions/checkout@v6
- run: rustup toolchain install stable --no-self-update --profile minimal --target thumbv7em-none-eabihf
- name: Build documentation
run: cargo rustdoc --target thumbv7em-none-eabihf --features=imxrt-ral/imxrt1062,smoltcp/socket-udp
- name: Add redirect to root
run: echo '<meta http-equiv="refresh" content="0; url=imxrt_enet">' > target/thumbv7em-none-eabihf/doc/index.html
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v4
with:
path: target/thumbv7em-none-eabihf/doc
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4