[AVR] Remove AVR-specific logic from libstd
It is not possible to compile libstd for AVR anyway.
This commit is contained in:
parent
b4a041c050
commit
8ba9cbd5c0
|
@ -874,7 +874,6 @@ pub mod consts {
|
||||||
/// - x86_64
|
/// - x86_64
|
||||||
/// - arm
|
/// - arm
|
||||||
/// - aarch64
|
/// - aarch64
|
||||||
/// - avr
|
|
||||||
/// - mips
|
/// - mips
|
||||||
/// - mips64
|
/// - mips64
|
||||||
/// - powerpc
|
/// - powerpc
|
||||||
|
@ -987,11 +986,6 @@ mod arch {
|
||||||
pub const ARCH: &str = "aarch64";
|
pub const ARCH: &str = "aarch64";
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_arch = "avr")]
|
|
||||||
mod arch {
|
|
||||||
pub const ARCH: &'static str = "avr";
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(target_arch = "mips")]
|
#[cfg(target_arch = "mips")]
|
||||||
mod arch {
|
mod arch {
|
||||||
pub const ARCH: &str = "mips";
|
pub const ARCH: &str = "mips";
|
||||||
|
|
Loading…
Reference in New Issue