Skip to content

Commit cd890ff

Browse files
committed
[AVR] Remove AVR-specific logic from libstd
It is not possible to compile libstd for AVR anyway.
1 parent 94ece5e commit cd890ff

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libstd/env.rs

-6
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,6 @@ pub mod consts {
874874
/// - x86_64
875875
/// - arm
876876
/// - aarch64
877-
/// - avr
878877
/// - mips
879878
/// - mips64
880879
/// - powerpc
@@ -987,11 +986,6 @@ mod arch {
987986
pub const ARCH: &str = "aarch64";
988987
}
989988

990-
#[cfg(target_arch = "avr")]
991-
mod arch {
992-
pub const ARCH: &'static str = "avr";
993-
}
994-
995989
#[cfg(target_arch = "mips")]
996990
mod arch {
997991
pub const ARCH: &str = "mips";

0 commit comments

Comments
 (0)