From 38f1f2d0a6c45a8841c7acad0e84abe42962a3a3 Mon Sep 17 00:00:00 2001 From: Arlie Davis Date: Tue, 18 Jun 2024 12:13:57 -0700 Subject: [PATCH 1/2] don't waste time compiling these crates for test --- crates/libs/sys/Cargo.toml | 8 ++++++++ crates/libs/windows/Cargo.toml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index 768513a4a0..aad2c377c4 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -11,6 +11,14 @@ readme = "readme.md" categories = ["os::windows-apis"] exclude = ["features.json"] +[lib] +# This crate does not contain tests. All tests are in separate crates. +test = false +doctest = false +# This crate does not generate docs because it is too large (rustdoc has problems with very large +# crates) and because the Windows API is documented elsewhere. +doc = false + [lints] workspace = true diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 0be951d198..350a05b856 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -13,6 +13,14 @@ readme = "readme.md" categories = ["os::windows-apis"] exclude = ["features.json"] +[lib] +# This crate does not contain tests. All tests are in separate crates. +test = false +doctest = false +# This crate does not generate docs because it is too large (rustdoc has problems with very large +# crates) and because the Windows API is documented elsewhere. +doc = false + [lints] workspace = true From 9b6e33e86a11733777bca6f887092476d2c5936d Mon Sep 17 00:00:00 2001 From: Arlie Davis Date: Wed, 19 Jun 2024 09:26:30 -0700 Subject: [PATCH 2/2] revert doc = false --- crates/libs/sys/Cargo.toml | 3 --- crates/libs/windows/Cargo.toml | 3 --- 2 files changed, 6 deletions(-) diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index aad2c377c4..12815c0a56 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -15,9 +15,6 @@ exclude = ["features.json"] # This crate does not contain tests. All tests are in separate crates. test = false doctest = false -# This crate does not generate docs because it is too large (rustdoc has problems with very large -# crates) and because the Windows API is documented elsewhere. -doc = false [lints] workspace = true diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 350a05b856..e094bc9247 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -17,9 +17,6 @@ exclude = ["features.json"] # This crate does not contain tests. All tests are in separate crates. test = false doctest = false -# This crate does not generate docs because it is too large (rustdoc has problems with very large -# crates) and because the Windows API is documented elsewhere. -doc = false [lints] workspace = true