File tree 1 file changed +5
-5
lines changed
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.
47
47
linking Rust code into an existing non-Rust application
48
48
because it will not have dynamic dependencies on other Rust code.
49
49
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
51
51
dependencies, including the standard library, and also exports all public
52
52
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
54
54
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).
56
56
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).
59
59
60
60
* ` --crate-type=cdylib ` , ` #![crate_type = "cdylib"] ` - A dynamic system
61
61
library will be produced. This is used when compiling
You can’t perform that action at this time.
0 commit comments