# C (and C++*) precompiled dependencies using Conan

> Source: <https://ziggit.dev/t/c-and-c-precompiled-dependencies-using-conan/17401#post_3>
> Published: 2026-08-28 09:34:26+00:00

Thanks!

- How does conan maintain ABI compatiblity? What libc and libstdc++ are the prebuilt binaries compiled against?

Packages are generated following a profile, and locally/in a CI those can be set to use whatever the project requires. For C++, the canonical repository for dependencies (Conan Center Index) builds them with `libc++`

in Macos, `libstdc++11`

in Linux , and msvc’s in Windows, but users are able to re-compile locally if different configurations are desired.

Is this meant to be only used with zig programs? Build.zig can also be used by C/C++ projects.

This would in fact be able to be used by C/C++ projects too, yes. The idea would be similar and this is tested in the test suite for the PR, so we expect this to be a valid workflow too

I found the comment on a PR in conan repo very hard to read, as it seemed mostly a dump from a LLM.

Yes, as the implementation is not final, not much time was provided to have solid wording in the examples/docs, with the expectation that things might change before being merged. I have updated the main post with a full example so that reading it is not required to see it working, let me know if that helps
