瀏覽代碼

Remove unused variable target_arch_arm

Previous commit makes this variable unused
Paolo Teti 6 年之前
父節點
當前提交
8128d996b1
共有 1 個文件被更改,包括 0 次插入3 次删除
  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);