I was trying to get duck db to work with the default compiler settings (e.g., 2021 edition).
Due to the version of bindgen being used, which generates unsafe extern "C" code, which is not supported in the 2021 edition, it should be noted that cargo 1.85 and 2024 edition are essential to build duckdb.
I couldn't see this clearly mentioned in the README. If it is, then feel free to close this issue. However, I think it would be good to state that these are requirements if they are not already stated.