From 6f45397944ffc49f5e4313ee6c406a49f6a5f21f Mon Sep 17 00:00:00 2001 From: Anjali Pal Date: Thu, 6 Jun 2024 14:21:58 -0700 Subject: [PATCH] Update install.sh --- runtime/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/install.sh b/runtime/install.sh index d4d332e4e..279a2ba5a 100755 --- a/runtime/install.sh +++ b/runtime/install.sh @@ -12,6 +12,9 @@ if [ -f brillvm/rt.bc ]; then fi cd runtime +# Duplicate runtime.bc files can mess things up, +# so make sure we start from a clean slate. +cargo clean cargo rustc --release -- --emit=llvm-bc cp ./target/release/deps/runtime-*.bc ./rt.bc cc -c rt.c -o rt.o