Skip to content

Commit a4dd053

Browse files
committed
Improve some editorial bits and weaken claim
Let's say "may" rather than "will" here.
1 parent b8b1557 commit a4dd053

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/linkage.md

+5-5
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)