Back to Comprehensive Rust

README

src/unsafe-deep-dive/ffi/README.md

latest285 B
Original Source
<!-- Copyright 2026 Google LLC SPDX-License-Identifier: CC-BY-4.0 -->

This segment of the class is about the foreign function interface with Rust.

Outline:

  • Start by wrapping a simple C function.
  • Progress into more complex cases which involve pointers and uninitialized memory.