File: rules

package info (click to toggle)
rust-sha2-asm 0.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 152 kB
  • sloc: asm: 733; makefile: 12
file content (13 lines) | stat: -rwxr-xr-x 267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
include /usr/share/rustc/architecture.mk
%:
	dh $@ --buildsystem cargo

# Only x86 and x86_64 is supported
override_dh_auto_test:
	case $(DEB_HOST_RUST_TYPE) in \
	arm-*|x86-*|x86_64-*) \
	  dh_auto_test;; \
	*) \
	  dh_auto_test || true;; \
	esac