diff --git a/example_no_std/check_size.sh b/example_no_std/check_size.sh index 1c9c696..fd6d678 100755 --- a/example_no_std/check_size.sh +++ b/example_no_std/check_size.sh @@ -1,6 +1,8 @@ #!/bin/bash set -e +cd "$(dirname "$(realpath $0)")" + # checks the size of the resulting --release level binary (that's been stripped) cargo build --release