Crates.io | tblgen |
lib.rs | tblgen |
version | 0.3.0 |
source | src |
created_at | 2023-08-01 12:45:11.156025 |
updated_at | 2023-08-14 10:54:57.91847 |
description | Safe Rust bindings for TableGen. |
homepage | |
repository | https://gitlab.com/Danacus/tblgen-rs |
max_upload_size | |
id | 931845 |
size | 109,639 |
This crate provides raw bindings and a safe wrapper for TableGen, a domain-specific language used by the LLVM project.
The goal of this crate is to enable users to develop custom TableGen backends in Rust. Hence the primary use case of this crate are procedural macros that generate Rust code from TableGen description files.
Read the documentation at https://danacus.gitlab.io/tblgen-rs/tblgen/.
An installation of LLVM is required to use this crate. This crate only aims to support the latest version of LLVM. The version of LLVM currently supported is 17.x.x.
The 1TABLEGEN_170_PREFIX` environment variable can be used to specify a custom directory of the LLVM installation.