mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
libc tests: remove unused features
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
//@only-target: linux freebsd # these are Linux/FreeBSD-specific APIs
|
||||
//@compile-flags: -Zmiri-disable-isolation -Zmiri-num-cpus=4
|
||||
#![feature(io_error_more)]
|
||||
#![feature(pointer_is_aligned_to)]
|
||||
|
||||
use std::mem::{size_of, size_of_val};
|
||||
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
//@ignore-host: windows # needs unix PermissionExt
|
||||
//@compile-flags: -Zmiri-disable-isolation
|
||||
|
||||
#![feature(io_error_more)]
|
||||
#![feature(io_error_uncategorized)]
|
||||
|
||||
use std::ffi::{CStr, CString};
|
||||
use std::mem::MaybeUninit;
|
||||
use std::os::unix::ffi::OsStrExt;
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
//@ignore-target: windows # no libc
|
||||
//@compile-flags: -Zmiri-disable-isolation
|
||||
|
||||
#![feature(io_error_more)]
|
||||
#![feature(io_error_uncategorized)]
|
||||
|
||||
use std::ffi::{CStr, CString, OsString};
|
||||
use std::fs::{File, canonicalize, remove_file};
|
||||
use std::io::{Error, ErrorKind, Write};
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
//@ignore-target: windows # only very limited libc on Windows
|
||||
//@compile-flags: -Zmiri-disable-isolation
|
||||
#![feature(io_error_more)]
|
||||
#![feature(pointer_is_aligned_to)]
|
||||
|
||||
use std::mem::transmute;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user