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
|
||||
|
||||
rm -f *.o
|
||||
$nac3standalone $1
|
||||
rustc -o demo demo.rs -Crelocation-model=static -Clink-arg=./module.o
|
||||
$nac3standalone "$@" || exit $?
|
||||
rustc -o demo demo.rs -Crelocation-model=static -Clink-arg=./module.o || exit $?
|
||||
./demo
|
||||
|
|
Loading…
Reference in New Issue