mirror of
https://github.com/openharmony/third_party_rust_mio.git
synced 2026-07-01 20:53:59 -04:00
31913f4e72
We never really supported Solaris, we pretended it implemented epoll, but it never did see https://github.com/tokio-rs/mio/issues/1152. As no one ever committed to being a maintainer for the port I'm removing it now with this commit. Instead replace it with illumuos on the CI, which we do support (as it supports epoll) and for which we do have maintainers.
31 lines
1015 B
Makefile
31 lines
1015 B
Makefile
# Targets available via Rustup that are supported.
|
|
TARGETS ?= "aarch64-apple-ios" "aarch64-linux-android" "x86_64-apple-darwin" "x86_64-pc-windows-msvc" "x86_64-unknown-freebsd" "x86_64-unknown-illumos" "x86_64-unknown-linux-gnu" "x86_64-unknown-netbsd"
|
|
|
|
test:
|
|
cargo test --all-features
|
|
|
|
# Test everything for the current OS/architecture and check all targets in
|
|
# $TARGETS.
|
|
test_all: check_all_targets
|
|
cargo hack test --feature-powerset
|
|
cargo hack test --feature-powerset --release
|
|
|
|
# Check all targets using all features.
|
|
check_all_targets: $(TARGETS)
|
|
$(TARGETS):
|
|
cargo hack check --target $@ --feature-powerset
|
|
|
|
# Installs all required targets for `check_all_targets`.
|
|
install_targets:
|
|
rustup target add $(TARGETS)
|
|
|
|
# NOTE: when using this command you might want to change the `test` target to
|
|
# only run a subset of the tests you're actively working on.
|
|
dev:
|
|
find src/ tests/ Makefile Cargo.toml | entr -d -c $(MAKE) test
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
.PHONY: test test_all check_all_targets $(TARGETS) dev clean
|