fix: inherit heap on fork and reset set_child_tid on execve
#294
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| rustfmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rustfmt | |
| - name: Check formatting | |
| run: cargo fmt --all --check | |
| clippy: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - arch: riscv64 | |
| target: riscv64gc-unknown-none-elf | |
| - arch: loongarch64 | |
| target: loongarch64-unknown-none-softfloat | |
| - arch: aarch64 | |
| target: aarch64-unknown-none-softfloat | |
| - arch: x86_64 | |
| target: x86_64-unknown-none | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: "recursive" | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-targets: false | |
| - uses: arceos-org/setup-musl@v1 | |
| with: | |
| arch: ${{ matrix.arch }} | |
| - name: Clippy | |
| run: cargo clippy --target ${{ matrix.target }} -F qemu -- -D warnings |