Ver código fonte

fix build.rs

we don't want to match musleabihf targets
Jorge Aparicio 8 anos atrás
pai
commit
dafe47bc2b
1 arquivos alterados com 1 adições e 1 exclusões
  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")
     }
 }