Skip to content

Commit ce85e01

Browse files
committed
fix: use debug build in pre-commit hook
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
1 parent a8f5ac6 commit ce85e01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -eo pipefail
66

77
if [ -f Cargo.toml ]; then
88
# Ensure that all targets can be built.
9-
cargo build -r --all-targets
9+
cargo build --all-targets
1010

1111
#Ensure that code is correctly formatted.
1212
cargo fmt --check || (echo "Run cargo fmt to fix formatting" && exit 1)

0 commit comments

Comments
 (0)