mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 11:45:01 +01:00
scripts
This commit is contained in:
parent
09b1a4219b
commit
4b70a44031
3 changed files with 339 additions and 0 deletions
19
repro.sh
Executable file
19
repro.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue