Skip to content

Commit d349373

Browse files
committed
Auto merge of #5328 - dwijnand:doc-links-key, r=matklad
Add a reference to the links key in the manifest docs Fixes #4975
2 parents d8b2031 + 3fb15ac commit d349373

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/doc/src/reference/manifest.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ building native code. More information can be found in the build script
4545
build = "build.rs"
4646
```
4747

48+
#### The `links` field (optional)
49+
50+
This fields specifies the name of a native library that is being linked to.
51+
More information can be found in the [`links`][links] section of the build
52+
script guide.
53+
54+
[links]: reference/build-scripts.html#the-links-manifest-key
55+
56+
```toml
57+
[package]
58+
# ...
59+
links = "foo"
60+
build = "build.rs"
61+
```
62+
4863
#### The `documentation` field (optional)
4964

5065
This field specifies a URL to a website hosting the crate's documentation.

0 commit comments

Comments
 (0)