|
|
|
|
|
by endospore
34 days ago
|
|
> emulate unsafe C pointer semantics with unsafe Rust Yes and that would be safer than the current slop translation, because c2rust does these ugly things exactly to avoid introducing new issues with the more strict Rust semantics. It _already was and should_ be that awful to match the original code without introducing hundreds of new UBs like the current situation. |
|