From 8ba9cbd5c0a1eed971f1019f1853f6e7d6f71273 Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Wed, 1 Apr 2020 20:39:09 +1300 Subject: [PATCH] [AVR] Remove AVR-specific logic from libstd It is not possible to compile libstd for AVR anyway. --- src/libstd/env.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libstd/env.rs b/src/libstd/env.rs index 0354f7850f5..97c20ca9459 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -874,7 +874,6 @@ pub mod consts { /// - x86_64 /// - arm /// - aarch64 - /// - avr /// - mips /// - mips64 /// - powerpc @@ -987,11 +986,6 @@ mod arch { pub const ARCH: &str = "aarch64"; } -#[cfg(target_arch = "avr")] -mod arch { - pub const ARCH: &'static str = "avr"; -} - #[cfg(target_arch = "mips")] mod arch { pub const ARCH: &str = "mips";