# HG changeset patch
# User Raphaël Gomès <rgomes@octobus.net>
# Date 1673346324 -3600
#      Tue Jan 10 11:25:24 2023 +0100
# Node ID e3274e02d08ebe7a85ada43d3f392da73d07dfa3
# Parent  75040950528653151cffe328c1016bb354da28e6
rust-tests: run `cargo` tests inside the `rust` folder

There is no reason to only run inside the `rust/hg-cpython` folder, even if
the `cargo test --all` behavior ends up being the same.

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -152,7 +152,7 @@
 	cd tests && $(HGPYTHONS)/$*/bin/python run-tests.py $(TESTFLAGS)
 
 rust-tests:
-	cd $(HGROOT)/rust/hg-cpython \
+	cd $(HGROOT)/rust \
 		&& $(CARGO) test --quiet --all --features "$(HG_RUST_FEATURES)"
 
 check-code: