File: rules

package info (click to toggle)
rust-fuchsia-zircon 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 236 kB
  • sloc: python: 35; makefile: 12
file content (13 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (2)
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

# Upstream only works on specific architectures, so ignore test failures elsewhere.
override_dh_auto_test:
	case $(DEB_HOST_RUST_TYPE) in \
	aarch64-*|x86_64-*) \
	  dh_auto_test;; \
	*) \
	  dh_auto_test || true;; \
	esac