Skip to content

Crate fails to compile on FreeBSD #1

@main--

Description

@main--

This crate as well as the compiler-rt-builtins crate (and then finally your rusqlite fork as well) fail to compile on FreeBSD using clang-18 from the latest llvm18 package (also on clang-17 fwiw...) due to the following missing header files:

  • limits.h
  • stdbool.h
  • stdint.h
  • stdarg.h

I managed to work around it by copying the respective files from an Archlinux machine from /usr/lib/clang/17/include/. I have been trying to figure out why this fails on FreeBSD specifically, and why I can't find any (working) copies of these headers anywhere on a FreeBSD system, but I eventually just gave up and copied the files.

(Mostly leaving this here to help anyone else who might end up running into the same problem, but if you have an idea how I might fix this properly I would obviously be very happy as well)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions