Commit a239314
committed
clippy: suppress ptr_offset and missing_safety_doc warnings
Suppress two clippy warnings in bindgen-generated code:
- ptr_offset_with_cast: Generated code uses ptr::offset with usize->isize cast
- missing_safety_doc: Auto-generated unsafe functions lack safety documentation
These warnings are not actionable since the code is auto-generated by bindgen.
Also updated the top comment of the wolfcrypt-rs/src/bindings.rs
accordingly.1 parent 1c598e4 commit a239314
1 file changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
0 commit comments