Remove `no_std` and `feature(...)` crate attributes

Since PR https://github.com/Rust-for-Linux/linux/pull/635 ("rust:
avoid the need of crate attributes in kernel modules") in the main
repository, these attributes are handled by the build system, thus
there is no need (and it is an error) to specify them.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
Miguel Ojeda 2022-02-09 00:43:23 +01:00
parent 6f1b54e2dc
commit c53324dd9a
1 changed files with 0 additions and 3 deletions

View File

@ -2,9 +2,6 @@
//! Rust out-of-tree sample
#![no_std]
#![feature(allocator_api, global_asm)]
use kernel::prelude::*;
module! {