Commit a575249
committed
fix: generate bindings compatible with MSRV
It appears that bindgen generates the code for the latest known stable
by default, and the output has changed in 0.71 when targeting 1.82+ due
to introduction of `unsafe extern` blocks.
Restore the compilation with MSRV by passing explicit RustTarget to
bindgen.1 parent 72d65c0 commit a575249
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| |||
0 commit comments