From a04b14068cd34d86da9aba49948bcfcf1f4c492f Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Sun, 26 Feb 2023 13:12:00 +0100 Subject: [PATCH] Document all targets on docs.rs --- Cargo.toml | 1 + Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c908aa89..16ed96df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,6 +28,7 @@ include = [ [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] +targets = ["aarch64-apple-ios", "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-fuchsia", "x86_64-pc-windows-msvc", "x86_64-pc-solaris", "x86_64-unknown-freebsd", "x86_64-unknown-illumos", "x86_64-unknown-linux-gnu", "x86_64-unknown-netbsd", "x86_64-unknown-redox"] [package.metadata.playground] features = ["all"] diff --git a/Makefile b/Makefile index e92a0cab..1a15561e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ # Targets available via Rustup that are supported. +# NOTE: keep in sync with the CI and docs.rs targets. TARGETS ?= "aarch64-apple-ios" "aarch64-linux-android" "x86_64-apple-darwin" "x86_64-fuchsia" "x86_64-pc-windows-msvc" "x86_64-pc-solaris" "x86_64-unknown-freebsd" "x86_64-unknown-illumos" "x86_64-unknown-linux-gnu" "x86_64-unknown-netbsd" "x86_64-unknown-redox" test: