Explorar o código

Remove unused variable target_arch_arm

Previous commit makes this variable unused
Paolo Teti %!s(int64=6) %!d(string=hai) anos
pai
achega
8128d996b1
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      build.rs

+ 0 - 3
build.rs

@@ -110,9 +110,6 @@ mod c {
         let target_env = env::var("CARGO_CFG_TARGET_ENV").unwrap();
         let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap();
         let target_vendor = env::var("CARGO_CFG_TARGET_VENDOR").unwrap();
-        let target_arch_arm =
-            target_arch.contains("arm") ||
-            target_arch.contains("thumb");
         let cfg = &mut cc::Build::new();
 
         cfg.warnings(false);