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.
To avoid a
cmakedependency, the Rust bindings (ittapi-rs) use directcccommands in itsbuild.rsscript to build theittnotifylibrary. Thesecccommands could eventually get out of sync with theCMakeLists.txtconfiguration. To avoid this, we could add a CI step that builds the C library usingcmake, builds the C library using thebuild.rsscript, hash both libraries, and check that the results are the same. This depends on #17 being implemented.