remove unnecessary no_mangle

no_mangle does nothing on extern items as per https://github.com/rust-lang/rust/issues/78989#issuecomment-726163973

Closes #115
This commit is contained in:
Sebastien Bourdeauducq 2020-11-16 14:51:30 +08:00
parent 32048ead20
commit 57ae8619f8

View File

@ -29,13 +29,9 @@ use super::{
// linker symbols // linker symbols
extern "C" { extern "C" {
#[no_mangle]
static __text_start: u32; static __text_start: u32;
#[no_mangle]
static __text_end: u32; static __text_end: u32;
#[no_mangle]
static __exidx_start: u32; static __exidx_start: u32;
#[no_mangle]
static __exidx_end: u32; static __exidx_end: u32;
} }