Handle some stabilized rustc features

This commit is contained in:
bjorn3
2024-06-09 13:39:39 +02:00
parent 020a3ef631
commit 38a729bc76
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -1,6 +1,3 @@
// Already stabilized, TODO: remove when Redox's rustc is updated
#![feature(result_option_inspect)]
use std::fs::{File, metadata, read_dir};
use std::io::prelude::*;
use std::os::unix::io::{FromRawFd, RawFd};
+1 -1
View File
@@ -1,5 +1,5 @@
#![deny(trivial_numeric_casts, unused_allocation)]
#![feature(int_roundings, async_fn_in_trait)]
#![feature(int_roundings)]
// TODO(andypython): driver panic with an empty disk.