-
Notifications
You must be signed in to change notification settings - Fork 516
Open
Labels
Description
Have you read the documentation?
Yes.
Did you double-check that you installed all dependencies?
Yes.
Which command failed?
cargo build --locked --release
What was the error message?
Build fails while compiling electrs-librocksdb-sys, seems that standard int types are not declared
error: ‘uint64_t’ has not been declared
note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
System
OS name and version: Arch Linux
gcc/g++ version: 15.2.1
rustc version: rustc 1.89.0 (29483883e 2025-08-04)
cargo version: cargo 1.89.0 (c24e10642 2025-06-23)
Compilation
Linking: static
Cross compilation: no
Target architecture: x86_64
Additional context
facebook/rocksdb#13365
Workaround:
This command works successfully:
CXXFLAGS="-include cstdint" cargo build --locked --releaseantonilol