mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-24 08:32:57 +02:00
Add speaker notes for extern functions.
This commit is contained in:
parent
d07171e76d
commit
7deb5532ea
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user