Skip to content

support mimalloc - #33

Merged
zh-jq merged 4 commits into
mainfrom
mimalloc
May 25, 2026
Merged

support mimalloc#33
zh-jq merged 4 commits into
mainfrom
mimalloc

enable mimalloc in CI

9260d9f
Select commit
Loading
Failed to load commit list.
Cirrus CI / freebsd failed May 25, 2026 in 10m 30s

Task Summary

Instruction test failed in 01:36

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:04 clone
✅ 00:15 install
✅ 05:51 build
✅ 02:39 clippy
❌ 01:36 test

   Compiling itertools v0.13.0
   Compiling regex v1.12.3
   Compiling cexpr v0.6.0
   Compiling bitflags v2.11.1
   Compiling vey-ftp-client v0.5.0 (/tmp/cirrus-ci-build/lib/vey-ftp-client)
   Compiling vey-icap-client v0.4.0 (/tmp/cirrus-ci-build/lib/vey-icap-client)
   Compiling vey-mimalloc-sys v0.1.3
   Compiling vey-ctl v0.2.0 (/tmp/cirrus-ci-build/lib/vey-ctl)
   Compiling vey-clap v0.2.0 (/tmp/cirrus-ci-build/lib/vey-clap)
   Compiling vey-proxy v1.13.4 (/tmp/cirrus-ci-build/vey-proxy)
   Compiling vey-iploc v0.4.0 (/tmp/cirrus-ci-build/vey-iploc)
   Compiling vey-statsd v0.2.0 (/tmp/cirrus-ci-build/vey-statsd)
   Compiling vey-bench v0.9.7 (/tmp/cirrus-ci-build/vey-bench)
   Compiling vey-gateway v0.4.0 (/tmp/cirrus-ci-build/vey-gateway)
   Compiling vey-keyless v0.5.0 (/tmp/cirrus-ci-build/vey-keyless)
   Compiling vey-dcgen v0.9.0 (/tmp/cirrus-ci-build/vey-dcgen)
   Compiling vey-imap-proto v0.3.0 (/tmp/cirrus-ci-build/lib/vey-imap-proto)
   Compiling vey-udpdump v0.3.0 (/tmp/cirrus-ci-build/lib/vey-udpdump)
   Compiling vey-xcrypt v0.3.0 (/tmp/cirrus-ci-build/lib/vey-xcrypt)
error: failed to run custom build command for `vey-mimalloc-sys v0.1.3`

Caused by:
  process didn't exit successfully: `/tmp/cirrus-ci-build/target/debug/build/vey-mimalloc-sys-d7dacfec932edf06/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=MIMALLOC_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-freebsd
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_freebsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=MIMALLOC_STATIC
  cargo:rerun-if-env-changed=MIMALLOC_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-freebsd
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_freebsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-freebsd
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_freebsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-freebsd
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_freebsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rustc-link-lib=mimalloc
  cargo:rerun-if-changed=wrapper.h

  --- stderr

  thread 'main' (100232) panicked at /.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.72.1/lib.rs:616:27:
  Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Exit status: 101