1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-08-08 08:22:52 +02:00

Add a note about using rust-bindgen (#2818)

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
This commit is contained in:
Jason Lin
2025-07-28 12:29:32 +10:00
committed by GitHub
parent e157487e6e
commit a0edd51120

View File

@ -74,3 +74,13 @@ functions and methods:
{{#include exercise.rs:main}}
```
<details>
FFI binding code is typically generated by tools like [bindgen], rather than
being written manually as we are doing here. However, bindgen can't run in an
online playground.
</details>
[bindgen]: https://github.com/rust-lang/rust-bindgen