Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
fix: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalinDe committed Oct 25, 2023
1 parent 09039de commit c753024
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ use std::env;
fn main() {
// NDK > 25 does not link to `libgcc` anymore
// see https://github.com/p2panda/meli/pull/21/files
if env::var("CARGO_CFG_TARGET_ARCH").unwrap() == "x86_64" && env::var("CARGO_CFG_TARGET_OS").unwrap() == "android" {
if env::var("CARGO_CFG_TARGET_ARCH").unwrap() == "x86_64"
&& env::var("CARGO_CFG_TARGET_OS").unwrap() == "android"
{
let home: String = env::var("HOME").unwrap();
println!("cargo:rustc-link-search={home}/Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/14.0.7/lib/linux/");
println!("cargo:rustc-link-lib=static=clang_rt.builtins-x86_64-android");
Expand Down

0 comments on commit c753024

Please sign in to comment.