Merge branch 'less_features' into 'master'

Remove unnecessary feature gates

See merge request redox-os/drivers!234
This commit is contained in:
Jacob Lorentzon
2025-02-22 13:40:26 +00:00
12 changed files with 0 additions and 21 deletions
-2
View File
@@ -1,5 +1,3 @@
#![feature(if_let_guard, int_roundings)]
use std::convert::TryFrom;
use std::fs::File;
use std::mem;
-3
View File
@@ -1,6 +1,3 @@
//#![deny(warnings)]
#![feature(int_roundings)]
extern crate bitflags;
extern crate event;
extern crate spin;
-1
View File
@@ -2,7 +2,6 @@
//!
//! This includes direct memory access via [dma], and Scatter-Gather List support via [sgl]. It also
//! provides various memory management structures for use with drivers, and some logging support.
#![feature(int_roundings)]
#![warn(missing_docs)]
use libredox::call::MmapArgs;
-2
View File
@@ -9,8 +9,6 @@
//! to get new input. Fbbootlogd does all blocking operations in background threads such that the
//! main thread will always keep accepting new input and writing it to the framebuffer.
#![feature(io_error_more)]
use libredox::errno::EOPNOTSUPP;
use redox_scheme::{RequestKind, Response, SignalBehavior, Socket};
-2
View File
@@ -1,5 +1,3 @@
#![feature(io_error_more)]
use event::EventQueue;
use libredox::errno::{EAGAIN, EINTR, EOPNOTSUPP, ESTALE};
use orbclient::Event;
-2
View File
@@ -20,8 +20,6 @@
// cc https://docs.mesa3d.org/drivers/venus.html
// cc https://docs.mesa3d.org/drivers/virgl.html
#![feature(int_roundings)]
use std::os::fd::AsRawFd;
use std::sync::atomic::{AtomicU32, Ordering};
-2
View File
@@ -1,5 +1,3 @@
#![feature(asm_const)]
#[macro_use]
extern crate bitflags;
extern crate orbclient;
-2
View File
@@ -1,5 +1,3 @@
#![feature(int_roundings)]
use std::convert::TryInto;
use std::fs::File;
use std::io::{Read, Write};
-1
View File
@@ -1,5 +1,4 @@
#![cfg_attr(target_arch = "aarch64", feature(stdsimd))] // Required for yield instruction
#![feature(int_roundings)]
extern crate byteorder;
extern crate syscall;
-1
View File
@@ -1,6 +1,5 @@
#![cfg_attr(target_arch = "aarch64", feature(stdarch_arm_hints))] // Required for yield instruction
#![cfg_attr(target_arch = "riscv64", feature(riscv_ext_intrinsics))] // Required for pause instruction
#![feature(int_roundings)]
use std::ptr::NonNull;
use std::sync::Arc;
-1
View File
@@ -1,5 +1,4 @@
#![deny(trivial_numeric_casts, unused_allocation)]
#![feature(int_roundings)]
use std::sync::{Arc, Weak};
-2
View File
@@ -1,5 +1,3 @@
#![feature(int_roundings)]
pub mod spec;
pub mod transport;
pub mod utils;