From fa800778378365b3a2b1bbed84c4978d55bc2a80 Mon Sep 17 00:00:00 2001 From: Colin Marc Date: Mon, 4 Aug 2025 18:59:22 +0200 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b66c5330..f9cb9f6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ readme = "README.md" license = "Apache-2.0" edition = "2021" rust-version = "1.78" -include = ["/src", "/datafusion", "/LICENSE.txt", "pyproject.toml", "Cargo.toml", "Cargo.lock"] +include = ["/src", "/datafusion", "/LICENSE.txt", "build.rs", "pyproject.toml", "Cargo.toml", "Cargo.lock"] [features] default = ["mimalloc"]