You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(windows): enable plain cargo build on Windows MSVC
- Move `tikv-jemallocator` to `[target.'cfg(unix)'.dependencies]` so
jemalloc is not compiled on Windows (its autoconf configure script
does not work with MSVC).
- Add `#[cfg(unix)]` guards to the jemalloc global allocator blocks in
src/lib.rs to match.
- Remove `rdkafka?/gssapi` from the `default` feature set; gssapi
requires libsasl2 which is unavailable on Windows. Move it into
`default-cmake` (Linux cmake builds) where the vendored sasl2 is
already present.
- Add `rdkafka?/cmake_build` to `default` so librdkafka builds via
cmake on all platforms (the release CI already does this via
`default-msvc`/`default-cmake`).
- Gate `pub mod dnstap` on `#[cfg(all(unix, ...))]` in
`src/sources/mod.rs` and `src/internal_events/mod.rs`. The dnstap
source depends on the `framestream` module which was already
unix-only; this makes the top-level declaration consistent and
prevents compile errors on Windows.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments