Skip to content

Commit

Permalink
Don't compile windows and windows-sys in unit test mode (#3112)
Browse files Browse the repository at this point in the history
  • Loading branch information
sivadeilra authored Jun 19, 2024
1 parent d331301 commit f6f985d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/libs/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ 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

[lints]
workspace = true

Expand Down
5 changes: 5 additions & 0 deletions crates/libs/windows/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ 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

[lints]
workspace = true

Expand Down

0 comments on commit f6f985d

Please sign in to comment.