Commit 717f252
committed
Disable bindgen version comment in generated bindings.rs
With us having CI check that the bindgen generated bindings are
up-to-date, we can run into issues where we now see a CI failure just
because they released a new patch version and now the generated bindings
contain a slightly outdated version string in them. E.g.:
--- a/src/bindings.rs
+++ b/src/bindings.rs
@@ -1,4 +1,4 @@
-/* automatically generated by rust-bindgen 0.72.0 */
+/* automatically generated by rust-bindgen 0.72.1 */
This is annoying and a waste of time to tend to. Really the version
string in there doesn't add any value: we basically know the major and
minor version of bindgen that we used, because we specified it in our
Cargo.toml and the patch level really shouldn't have any relevance. So
disable the embedding of this version string into the generate bindings
altogether.
Signed-off-by: Daniel Müller <[email protected]>1 parent e13d606 commit 717f252
2 files changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
0 commit comments