From 7f65f4f527ea60281f32b09ebad2cbcd332fb564 Mon Sep 17 00:00:00 2001 From: youben11 Date: Tue, 22 Nov 2022 11:23:01 +0100 Subject: [PATCH] fix(ci): set env var to look for lib in build/lib LD_LIBRARY_PATH is set to BUILD_DIR/lib during rust tests in order to find the runtime lib which it depends on --- compiler/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Makefile b/compiler/Makefile index 148df066b..10abd7989 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -223,7 +223,7 @@ test-compiler-file-output: concretecompiler ## rust-tests run-rust-tests: rust-bindings - cd lib/Bindings/Rust && CONCRETE_COMPILER_BUILD_DIR=$(abspath $(BUILD_DIR)) cargo test --release + cd lib/Bindings/Rust && CONCRETE_COMPILER_BUILD_DIR=$(abspath $(BUILD_DIR)) LD_LIBRARY_PATH=$(abspath $(BUILD_DIR))/lib cargo test --release ## end-to-end-tests