Skip to content

Commit

Permalink
fix(rust): fix pyo3 link errors on macos (#10256)
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp authored Aug 3, 2023
1 parent 873d18e commit e24bfa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/python_rust_compiled_function/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ polars = { path = "../../crates/polars" }
polars-arrow = { path = "../../crates/polars-arrow" }

pyo3 = { version = "0.19", features = ["extension-module"] }

[build-dependencies]
pyo3-build-config = "0.19"
3 changes: 3 additions & 0 deletions examples/python_rust_compiled_function/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
pyo3_build_config::add_extension_module_link_args();
}

0 comments on commit e24bfa5

Please sign in to comment.