ilhook 2.3.0

A library that provides methods to inline hook binary codes in x86 and x86_64 architecture
Documentation
name: Test

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]
  workflow_dispatch:

env:
  CARGO_TERM_COLOR: always

jobs:
  linux-64-test:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Build
      run: cargo build --no-default-features -F x64 -r --verbose
    - name: Run tests
      run: cargo test --no-default-features -F x64 -r --verbose -- --test-threads=1
      
  win-64-test:
    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v3
    - name: Build
      run: cargo build --no-default-features -F x64 -r --verbose
    - name: Run tests
      run: cargo test --no-default-features -F x64 -r --verbose -- --test-threads=1
      
  linux-32-test:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Setup 32-bit env
      run: rustup target add i686-unknown-linux-musl
    - name: Build
      run: cargo build --no-default-features -F x86 --target i686-unknown-linux-musl -r --verbose
    - name: Run tests
      run: cargo test --no-default-features -F x86 --target i686-unknown-linux-musl -r --verbose -- --test-threads=1

  win-32-test:
    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v3
    - name: Setup 32-bit env
      run: rustup target add i686-pc-windows-msvc
    - name: Build
      run: cargo build --no-default-features -F x86 --target i686-pc-windows-msvc -r --verbose
    - name: Run tests
      run: cargo test --no-default-features -F x86 --target i686-pc-windows-msvc -r --verbose -- --test-threads=1