Skip to content

Commit fa80077

Browse files
committed
fix(build): Include build.rs in published crates
This fixes a very niche build problem: depending on datafusion-python as an rlib, and then attempting to build on macOS. Because of the presence of an 'include' configuration in Cargo.toml, everything else is excluded - including build.rs, which means the necessary pyo3 linker flags aren't set.
1 parent be88837 commit fa80077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ readme = "README.md"
2626
license = "Apache-2.0"
2727
edition = "2021"
2828
rust-version = "1.78"
29-
include = ["/src", "/datafusion", "/LICENSE.txt", "pyproject.toml", "Cargo.toml", "Cargo.lock"]
29+
include = ["/src", "/datafusion", "/LICENSE.txt", "build.rs", "pyproject.toml", "Cargo.toml", "Cargo.lock"]
3030

3131
[features]
3232
default = ["mimalloc"]

0 commit comments

Comments
 (0)