Skip to content

Commit

Permalink
Add empty jobserver feature. (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Jul 12, 2024
1 parent 53e8df9 commit 1b368d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ libc = { version = "0.2.62", default-features = false, optional = true }

[features]
parallel = ["dep:libc", "dep:jobserver", "dep:once_cell"]
# This is a placeholder feature for people who incorrectly used `cc` with `features = ["jobserver"]`
# so that they aren't broken. This has never enabled `parallel`, so we won't do that.
jobserver = []

[dev-dependencies]
tempfile = "3"
Expand Down

0 comments on commit 1b368d9

Please sign in to comment.