|
|
|
|
|
by lilyball
658 days ago
|
|
If interactions through safe abstractions leak unsafety into your code, that's a bug in the abstractions. Edit: who voted me down? This is literally the definition of writing a safe abstraction around unsafe code in Rust. If the user of your safe abstraction can trigger a segfault or UB or otherwise do something that is supposed to require unsafe, then your safe abstraction is buggy. |
|