File: rules

package info (click to toggle)
rust-async-std 1.12.0-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,992 kB
  • sloc: perl: 258; python: 148; sh: 13; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 493 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# use local fork of debcargo and dh-cargo
PATH := $(CURDIR)/debian/dh-cargo/bin:$(PATH)
PERL5LIB = $(CURDIR)/debian/dh-cargo/lib
export PATH PERL5LIB

# Fails on uncommon archs: <https://github.com/async-rs/async-std/issues/1042>
TEST_FLAKY = \
 io_timeout

%:
	dh $@ --buildsystem cargo

override_dh_auto_test:
	dh_auto_test -- --no-fail-fast -- $(addprefix --skip ,$(TEST_FLAKY))

execute_after_dh_auto_install:
	rm -rf debian/librust-*-dev/usr/share/cargo/registry/*/ci