Use NonNull
in as_ptr
and into_raw
#109
Workflow file for this run
This file contains 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: macos | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build - MacOS | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
os: [macOS-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Install components | |
run: rustup component add --toolchain stable rustfmt clippy | |
- name: Fetch | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fetch | |
- name: Check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- name: Format | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
arguments: --all -- --check | |
- name: Clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
arguments: -- -D warnings |