From 1fead296ed012f83afb482021051ccc1d4946167 Mon Sep 17 00:00:00 2001 From: Arnold Loubriat Date: Sat, 23 Nov 2024 15:20:33 +0100 Subject: [PATCH] fix: Tell docs.rs to only build accesskit_windows on Windows (#483) --- platforms/windows/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platforms/windows/Cargo.toml b/platforms/windows/Cargo.toml index fd879501..85f58a00 100644 --- a/platforms/windows/Cargo.toml +++ b/platforms/windows/Cargo.toml @@ -11,6 +11,10 @@ readme = "README.md" edition.workspace = true rust-version.workspace = true +[package.metadata.docs.rs] +default-target = "x86_64-pc-windows-msvc" +targets = [] + [dependencies] accesskit = { version = "0.17.0", path = "../../common" } accesskit_consumer = { version = "0.25.0", path = "../../consumer" }