From 2116f5d3dab8695f562d4b1485034df42a7cdc71 Mon Sep 17 00:00:00 2001 From: Chris Wailes Date: Wed, 29 Mar 2023 16:20:58 -0700 Subject: [PATCH] Remove unnecessary feature declarations This CL removes `default_alloc_error_handler` annotations as this feature has been stabilized in Rust 1.68.0. Bug: 267698452 Test: m rust Change-Id: I9c0c099a522a1c9cc3acf92d40a6fd6b8e14277f --- pvmfw/src/main.rs | 1 - rialto/src/main.rs | 1 - vmbase/example/src/main.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/pvmfw/src/main.rs b/pvmfw/src/main.rs index 577ad6ed..00ff61fc 100644 --- a/pvmfw/src/main.rs +++ b/pvmfw/src/main.rs @@ -16,7 +16,6 @@ #![no_main] #![no_std] -#![feature(default_alloc_error_handler)] extern crate alloc; diff --git a/rialto/src/main.rs b/rialto/src/main.rs index 3b730f4f..59ee0b67 100644 --- a/rialto/src/main.rs +++ b/rialto/src/main.rs @@ -16,7 +16,6 @@ #![no_main] #![no_std] -#![feature(default_alloc_error_handler)] mod exceptions; diff --git a/vmbase/example/src/main.rs b/vmbase/example/src/main.rs index 3b0e9db1..9ec2dc46 100644 --- a/vmbase/example/src/main.rs +++ b/vmbase/example/src/main.rs @@ -16,7 +16,6 @@ #![no_main] #![no_std] -#![feature(default_alloc_error_handler)] mod exceptions; mod layout;