It says below:
|
/// If compiled as a dylib, the resulting .so could then be linked to from a C library, and the |
But according to the reference
[1][2] ,
dylib is Rust dynamic library which is meant for Rust consumers (not for C consumers). Shouldn't
cdylib be the right term here?
[1] https://doc.rust-lang.org/reference/linkage.html#r-link.dylib
[2] https://doc.rust-lang.org/reference/linkage.html#r-link.cdylib
It says below:
rust/library/std/src/keyword_docs.rs
Line 474 in f5eca4f
But according to the reference[1][2] ,
dylibis Rust dynamic library which is meant for Rust consumers (not for C consumers). Shouldn'tcdylibbe the right term here?[1] https://doc.rust-lang.org/reference/linkage.html#r-link.dylib
[2] https://doc.rust-lang.org/reference/linkage.html#r-link.cdylib