Skip to content

Commit

Permalink
Merge pull request #985 from GuillaumeGomez/freebsd-docsrs
Browse files Browse the repository at this point in the history
Add FreeBSD target in docs.rs build
  • Loading branch information
GuillaumeGomez committed Jun 2, 2023
2 parents 10051dd + 7aa1e95 commit a89da0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ unknown-ci = []

[package.metadata.docs.rs]
features = ["serde"]
# Setting this default target to prevent `freebsd` to be the default one.
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-freebsd"]
cargo-args = ["-Zbuild-std"]

[dependencies]
cfg-if = "1.0"
Expand Down

0 comments on commit a89da0e

Please sign in to comment.