Procházet zdrojové kódy

fix build.rs

we don't want to match musleabihf targets
Jorge Aparicio před 8 roky
rodič
revize
dafe47bc2b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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")
     }
 }