docs.rs failed to build bender-slang-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
bender-slang
Internal crate:
bender-slangis an internal crate of Bender. It does not provide a stable public API — breaking changes may occur at any time without notice.
bender-slang provides the C++ bridge between bender and the Slang SystemVerilog parser. It is used by Bender's pickle command.
Building
Building this crate requires a C++20-capable compiler and CMake. The Slang library and its dependencies (fmt, mimalloc) are fetched and built automatically via CMake's FetchContent — no manual setup is required.
IIS Environment Setup
In the IIS environment on Linux, a newer GCC toolchain is required to build bender-slang. Simply copy the provided Cargo configuration file to use the appropriate toolchain:
Then, build or install bender with the usual Cargo command: