File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,15 @@ be ignored in favor of only building the artifacts specified by command line.
4747 linking Rust code into an existing non-Rust application
4848 because it will not have dynamic dependencies on other Rust code.
4949
50- Note that, because the resulting static library contains all of the
50+ Note that, because the resulting static library contains the code of all the
5151 dependencies, including the standard library, and also exports all public
5252 symbols of them, linking the static library into an executable or shared
53- library will need special care. In case of a shared library the list of
53+ library may need special care. In case of a shared library the list of
5454 exported symbols will have to be limited via e.g. a linker or symbol version
55- script, exported symbols list (macOS) or module definition file (Windows).
55+ script, exported symbols list (macOS), or module definition file (Windows).
5656 Additionally, unused sections can be removed to remove all code of
57- dependencies that is not actually used (e.g. ` --gc-sections ` or
58- ` -dead_strip ` for macOS).
57+ dependencies that is not actually used (e.g. ` --gc-sections ` or ` -dead_strip `
58+ for macOS).
5959
6060* ` --crate-type=cdylib ` , ` #![crate_type = "cdylib"] ` - A dynamic system
6161 library will be produced. This is used when compiling
You can’t perform that action at this time.
0 commit comments