Remove unused variable target_arch_arm
Previous commit makes this variable unused
This commit is contained in:
parent
59353afa10
commit
8128d996b1
3
build.rs
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);
|
||||
|
|
Loading…
Reference in New Issue