From f1f9106a23757dba2e88a240c1aba65abf11fc9f Mon Sep 17 00:00:00 2001 From: neptunepink Date: Fri, 10 Sep 2021 10:45:59 -0700 Subject: [PATCH] Script to show the --emit=llvm-bc bug --- incr-test | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 incr-test diff --git a/incr-test b/incr-test new file mode 100755 index 0000000..36b3e0a --- /dev/null +++ b/incr-test @@ -0,0 +1,13 @@ +#!/bin/sh + +set -ex + +cargo clean + +for n in seq 0 10 +do + cargo rustc -p header -- --emit=llvm-bc + cargo rustc -p plugin -- --emit=llvm-bc +done + +echo "It worked!"