game-wip-dontplay/repro.sh
2023-04-18 14:57:11 +02:00

22 lines
No EOL
325 B
Bash
Executable file

#!/bin/bash
export RUSTFLAGS='-Zincremental-verify-ich'
cp tiles.rs src/tiles.rs
cargo clean -p mantle-diver
cargo build
./apply.py
OUT=$(cargo build 2>&1)
cp tiles.rs src/tiles.rs
if echo $OUT | grep "internal compiler error";
then
echo "The ICE reproduces"
exit 0
else
echo "No reproduction"
exit 1
fi