Skip to content

WIP: Attempting to no-copy from ByteSlice to TinyBytes #4447

WIP: Attempting to no-copy from ByteSlice to TinyBytes

WIP: Attempting to no-copy from ByteSlice to TinyBytes #4447

Workflow file for this run

name: Miri test
on:
push:
jobs:
run-miri:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
PROPTEST_CASES: 1
steps:
- uses: actions/checkout@v4
- name: Set up Rust
run: |
set -e
rustup set profile minimal
rustup toolchain install nightly-2024-10-21 --component miri
rustup default nightly-2024-10-21
- name: Install Protoc Binary
shell: bash
run: chmod +x ./scripts/install-protoc.sh && ./scripts/install-protoc.sh $HOME
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- run: MIRIFLAGS="-Zmiri-disable-isolation" cargo miri nextest run
# We need to disable isolation because
# "unsupported operation: `clock_gettime` with `REALTIME` clocks not available when isolation is enabled"