Browse Source

fix build.rs

we don't want to match musleabihf targets
Jorge Aparicio 8 năm trước cách đây
mục cha
commit
dafe47bc2b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      build.rs

+ 1 - 1
build.rs

@@ -1,7 +1,7 @@
 use std::env;
 
 fn main() {
-    if env::var("TARGET").unwrap().ends_with("hf") {
+    if env::var("TARGET").unwrap().ends_with("gnueabihf") {
         println!("cargo:rustc-cfg=gnueabihf")
     }
 }