meta: Update run_demo.sh
- Allow more than one argument to nac3standalone executable - Abort linking process if standalone executable exits with error
This commit is contained in:
parent
98736fe310
commit
a1a455d752
|
@ -15,6 +15,6 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
$nac3standalone $1
|
$nac3standalone "$@" || exit $?
|
||||||
rustc -o demo demo.rs -Crelocation-model=static -Clink-arg=./module.o
|
rustc -o demo demo.rs -Crelocation-model=static -Clink-arg=./module.o || exit $?
|
||||||
./demo
|
./demo
|
||||||
|
|
Loading…
Reference in New Issue