|
|
Log in / Subscribe / Register

Shared libraries

Shared libraries

Posted Nov 24, 2025 20:20 UTC (Mon) by ojeda (subscriber, #143370)
In reply to: Shared libraries by ibukanov
Parent article: APT Rust requirement raises questions

There is no standard C++ ABI, though vendors try to help to some degree.

As for unsafe calls, that is the same as in C++, i.e. every call is unsafe.

By the way, in Rust you can easily specify nowadays that an external function is safe, e.g.

unsafe extern "C" {
    safe fn f();
}


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds