Remove some unused feature gates

This commit is contained in:
bjorn3 2022-03-15 19:10:25 +01:00
parent 88c3719c68
commit 5c666ea7ec
3 changed files with 10 additions and 8 deletions

View File

@ -1,7 +1,6 @@
// Adapted from rustc run-pass test suite // Adapted from rustc run-pass test suite
#![feature(arbitrary_self_types, unsize, coerce_unsized, dispatch_from_dyn)] #![feature(arbitrary_self_types, unsize, coerce_unsized, dispatch_from_dyn)]
#![feature(rustc_attrs)]
use std::{ use std::{
ops::{Deref, CoerceUnsized, DispatchFromDyn}, ops::{Deref, CoerceUnsized, DispatchFromDyn},

View File

@ -1,7 +1,14 @@
#![feature( #![feature(
no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, no_core,
untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, lang_items,
thread_local, intrinsics,
unboxed_closures,
extern_types,
decl_macro,
rustc_attrs,
transparent_unions,
auto_traits,
thread_local
)] )]
#![no_core] #![no_core]
#![allow(dead_code)] #![allow(dead_code)]

View File

@ -7,10 +7,6 @@
use mini_core::*; use mini_core::*;
use mini_core::libc::*; use mini_core::libc::*;
unsafe extern "C" fn my_puts(s: *const i8) {
puts(s);
}
macro_rules! assert { macro_rules! assert {
($e:expr) => { ($e:expr) => {
if !$e { if !$e {