Skip to content

Commit c465cb5

Browse files
committed
fix Windows build
1 parent 1549119 commit c465cb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ default = ["clap", "syntect"]
4444

4545
[target.'cfg(all(not(windows), not(target_arch="wasm32")))'.dependencies]
4646
xdg = "^2.1"
47-
syntect = { version = "4.6", optional = true, default-features = false, features = ["assets", "dump-load", "html", "regex-onig"] }
4847

4948
[target.'cfg(target_arch="wasm32")'.dependencies]
5049
syntect = { version = "4.6", optional = true, default-features = false, features = ["default-fancy"] }
50+
51+
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
52+
syntect = { version = "4.6", optional = true, default-features = false, features = ["assets", "dump-load", "html", "regex-onig"] }

0 commit comments

Comments
 (0)