fix CI
This commit is contained in:
parent
7e86d199a1
commit
99c13cb866
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -43,7 +43,8 @@ jobs:
|
|||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
# asm! is stable and llvm_asm! still exists
|
||||
toolchain: nightly-2022-01-14
|
||||
target: ${{ matrix.target }}
|
||||
override: true
|
||||
|
||||
|
|
10
src/lib.rs
10
src/lib.rs
|
@ -11,8 +11,18 @@
|
|||
|
||||
// Reference http://man7.org/linux/man-pages/man2/syscall.2.html
|
||||
|
||||
#![allow(deprecated)] // llvm_asm!
|
||||
#![deny(warnings)]
|
||||
#![no_std]
|
||||
#![cfg_attr(any(
|
||||
target_arch = "arm",
|
||||
target_arch = "mips",
|
||||
target_arch = "mips64",
|
||||
target_arch = "powerpc",
|
||||
target_arch = "powerpc64",
|
||||
target_arch = "sparc64",
|
||||
target_arch = "x86"
|
||||
), feature(llvm_asm))]
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate std;
|
||||
|
|
Loading…
Reference in a new issue