Skip to content

Commit 672a549

Browse files
committed
Update pyo3 flags to cross-compile to Windows
1 parent 10f9036 commit 672a549

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sqlglotrs/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ default = []
1919
profiling = ["serde", "serde_json"]
2020

2121
[dependencies]
22-
pyo3 = {version ="0.25"}
22+
# https://www.maturin.rs/distribution.html#cross-compile-to-windows
23+
pyo3 = { version ="0.25", features = ["extension-module", "generate-import-lib"] }
2324
rustc-hash = { version = "2.1" }
2425

2526
# Optional dependencies used for profiling

0 commit comments

Comments
 (0)