Skip to content

Commit a0edd51

Browse files
JasonXJgribozavr
andauthored
Add a note about using rust-bindgen (#2818)
Co-authored-by: Dmitri Gribenko <[email protected]>
1 parent e157487 commit a0edd51

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/unsafe-rust/exercise.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,13 @@ functions and methods:
7474
7575
{{#include exercise.rs:main}}
7676
```
77+
78+
<details>
79+
80+
FFI binding code is typically generated by tools like [bindgen], rather than
81+
being written manually as we are doing here. However, bindgen can't run in an
82+
online playground.
83+
84+
</details>
85+
86+
[bindgen]: https://github.com/rust-lang/rust-bindgen

0 commit comments

Comments
 (0)