From a689dba8d7bf49401dfd4fac0de43a2aac7dbfcf Mon Sep 17 00:00:00 2001 From: Ayoub Benaissa Date: Wed, 7 Jun 2023 09:52:21 +0100 Subject: [PATCH] fix(compiler/rust): fix const declaration of target-specific static libs for aarch64 --- compilers/concrete-compiler/compiler/lib/Bindings/Rust/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compilers/concrete-compiler/compiler/lib/Bindings/Rust/build.rs b/compilers/concrete-compiler/compiler/lib/Bindings/Rust/build.rs index ee79b6eb3..630fedb6e 100644 --- a/compilers/concrete-compiler/compiler/lib/Bindings/Rust/build.rs +++ b/compilers/concrete-compiler/compiler/lib/Bindings/Rust/build.rs @@ -251,7 +251,7 @@ const LLVM_STATIC_LIBS: &[&str] = &[ ]; #[cfg(target_arch = "aarch64")] -const LLVM_TARGET_SPECIFIC_STATIC_LIBS: [&str; 4] = &[ +const LLVM_TARGET_SPECIFIC_STATIC_LIBS: &[&str] = &[ "LLVMAArch64Utils", "LLVMAArch64Info", "LLVMAArch64Desc",