1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-25 16:54:32 +02:00

Add speaker notes for extern functions.

This commit is contained in:
Andrew Walbran 2023-01-17 16:41:23 +00:00
parent d07171e76d
commit 7deb5532ea

View File

@ -15,3 +15,11 @@ fn main() {
} }
} }
``` ```
<details>
This is usually only a problem for extern functions which do things with pointers which might
violate Rust's memory model, but in general any C function might have undefined behaviour under any
arbitrary circumstances.
</details>