Skip to content

Move code memory so we use pages at a time for thread safety on W^X #91

Move code memory so we use pages at a time for thread safety on W^X

Move code memory so we use pages at a time for thread safety on W^X #91

Workflow file for this run

name: Run Cargo Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: macos-latest
strategy:
matrix:
feature-combination:
- "--features compacting,thread-safe"
- "--features simple-generation,thread-safe"
- "--features simple-mark-and-sweep,thread-safe"
- "--features compacting"
- "--features simple-generation"
- "--features simple-mark-and-sweep"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Run tests with features
run: RUST_BACKTRACE=1 cargo test ${{ matrix.feature-combination }}