#!/usr/bin/make -f

# Force older rustc on riscv64 to workaround a compiler crash (LP: #2166327)
ifneq (,$(filter riscv64,$(DEB_HOST_ARCH)))
export PATH:=/usr/lib/rust-1.93/bin:$(PATH)
endif

%:
	dh $@ --buildsystem cargo

override_dh_auto_test:
	dh_auto_test -- test --all
