Explorar el Código

fix build.rs

we don't want to match musleabihf targets
Jorge Aparicio hace 8 años
padre
commit
dafe47bc2b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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")
     }
 }