bragi-build

Crates.iobragi-build
lib.rsbragi-build
version0.1.0
created_at2025-04-30 22:53:25.467083+00
updated_at2025-04-30 22:53:25.467083+00
descriptionHelper function for invoking the bragi code generator from a build.rs file
homepage
repositoryhttps://github.com/managarm/bragi
max_upload_size
id1655548
size4,106
Alexander van der Grinten (avdgrinten)

documentation

README

bragi-build

This crate provides a helper function for invoking the bragi code generator from within a build.rs file.

Usage

Simply call the bragi_build::generate_bindings function with two arguments: the bragi source file path and the output file name.

The generated bindings will be written to the output directory under the specified name and a cargo instruction will be printed out to make sure the build script is re-run if the bragi source file is modified.

License

This crate is licensed under the MIT license. See the LICENSE file for more details.

Commit count: 109

cargo fmt