https://github.com/InfiniTensor/build-script-cfg
Configure and set cfg flags in build scripts.
https://github.com/InfiniTensor/build-script-cfg
Last synced: 8 months ago
JSON representation
Configure and set cfg flags in build scripts.
- Host: GitHub
- URL: https://github.com/InfiniTensor/build-script-cfg
- Owner: InfiniTensor
- License: mit
- Created: 2024-06-04T09:29:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-23T11:23:38.000Z (over 1 year ago)
- Last Synced: 2025-10-13T12:57:21.093Z (8 months ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# build-script-cfg
[](https://github.com/InfiniTensor/build-script-cfg/actions)
[](https://crates.io/crates/build-script-cfg)
[](https://docs.rs/build-script-cfg)
[](https://mit-license.org/)


[](https://github.com/InfiniTensor/build-script-cfg/issues)
[](https://github.com/InfiniTensor/build-script-cfg/pulls)


Configure and set cfg flags in build scripts.
## Usage
```rust,ignore
let cfg = Cfg::new("cfg");
if some_condition {
cfg.define();
}
```