emproof-com / nyxstone

Nyxstone: assembly / disassembly library based on LLVM, implemented in C++ with Rust and Python bindings, maintained by emproof.com
https://www.emproof.com
MIT License
311 stars 14 forks source link

Detect docsrs build and exit build.rs early #56

Closed stuxnot closed 3 months ago

stuxnot commented 3 months ago

When being build in the docs.rs docker container, we do not need to build the cxx files or link against llvm, especially because the latter leads to an error in the docker container.