Check that the Rust build script stays in sync with CMake configuration
Open
Rust
- Dominant language
- Rust
- Stars
- 142
- Forks
- 52
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 3
Description
To avoid a `cmake` dependency, the Rust bindings (`ittapi-rs`) use direct `cc` commands in its `build.rs` script to build the `ittnotify` library. These `cc` commands could eventually get out of sync with the `CMakeLists.txt` configuration. To avoid this, we could add a CI step that builds the C library using `cmake`, builds the C library using the `build.rs` script, hash both libraries, and check that the results are the same. This depends on #17 being implemented.
Contributor guide
Assessment
This issue has not been assessed yet.