-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Description
Describe the bug
It seems like Rust tikv-jemalloc-sys
crate fails on compilation of vendored C jemalloc
code,
but only on NixOS, only with newer C toolchains and only when optimizations are NOT enabled.
The developers investigating it point out to odd behavior of the toolchains suggesting some misconfiguration/misbehavior. I have been experiencing it with clang, some other user with gcc, but both of us are on NixOS, and problem doesn't repro on other distros as far as we can tell. (Edit: it does repro on other distros if Nix toolchain is used e.g. from a nix develop shell).
Steps To Reproduce
Compile a Rust project using tikv-jemalloc
crate in debug mode on NixOS.
Expected behavior
It should compile.
Screenshots
NA
Additional context
NA
Metadata
NA
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.