From fb5ae92065de13a1c5d5020b47ffa5d3bc7ee98a Mon Sep 17 00:00:00 2001 From: Francesco Cattoglio Date: Fri, 13 Jun 2025 15:40:25 +0000 Subject: [PATCH] Added a compile time flag to compile SQLite with builtin math funcions --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..c0b267cf --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,4 @@ +[env] +# To use built-in math functions, this compile time flag must be set +# See https://www.sqlite.org/draft/lang_mathfunc.html as a reference +LIBSQLITE3_FLAGS = { value = "-DSQLITE_ENABLE_MATH_FUNCTIONS", force=true }