game-wip-dontplay/repro.sh
2023-04-17 19:31:55 +02:00

19 lines
No EOL
290 B
Bash
Executable file

#!/bin/bash
cp tiles.rs src/tiles.rs
cargo clean -p mantle-diver
cargo build
git apply crash.patch
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