This commit is contained in:
Jorge Aparicio 2022-02-04 12:35:52 +01:00
parent 7e86d199a1
commit 99c13cb866
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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;