Skip to content

Try using new_zeroed_slice to optimize f.mvs with zeroed allocations #5872

Try using new_zeroed_slice to optimize f.mvs with zeroed allocations

Try using new_zeroed_slice to optimize f.mvs with zeroed allocations #5872

Workflow file for this run

name: check formatting
on:
push:
branches:
- 'main'
pull_request:
jobs:
cargo-fmt:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: cache rust toolchain
uses: actions/cache@v4
with:
path: |
~/.rustup/toolchains
~/.rustup/update-hashes
~/.rustup/settings.toml
key: ${{ runner.os }}-rust-toolchain-${{ hashFiles('rust-toolchain', 'rust-toolchain.toml') }}
- name: cache rust crates
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Check formatting
run: cargo fmt --check