3 ms·
As far as I can tell, Rust _does_ support dynamic linking. You can both compile rust code to .so and link against existing shared objects. What are you talking
by jppittma 3y ago
As far as I can tell, Rust _does_ support dynamic linking. You can both compile rust code to .so and link against existing shared objects. What are you talking about?
>The compiler supports various methods to link crates together both statically and dynamically. This section will explore the various methods to link crates together, and more information about native libraries can be found in the FFI section of the book.
https://doc.rust-lang.org/reference/linkage.html https://doc.rust-lang.org/reference/linkage.html
- nindalf 3y ago> What are you talking about? I’m talking about what happens in practice, which is shipping static binaries that contain all of their dependencies, except for libc.