Skip to content

Commit

Permalink
fix: fixed windows-only dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
LyonSyonII committed Mar 7, 2024
1 parent 363c662 commit f0fd95c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 265 deletions.
32 changes: 32 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ mimalloc = { version = "0.1.39", default-features = false }
colored = "2.1.0"
memchr = "2.7.1"
crossbeam-channel = "0.5.12"

[target.'cfg(target_os = "linux")'.dependencies]
rustix = { version = "0.38.31", default-features = false, features = ["fs", "alloc"] }

[target.'cfg(windows)'.dependencies]
winapi-util = "0.1.6"

[profile.release]
lto = true
codegen-units = 1
Expand Down
265 changes: 0 additions & 265 deletions src/bumpalo_herd.rs

This file was deleted.

0 comments on commit f0fd95c

Please sign in to comment.