Skip to content

Commit e4e7a36

Browse files
committed
docs(build-rs): Correct documentation for manifest_links
1 parent eef4b30 commit e4e7a36

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

crates/build-rs/src/input.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,7 @@ pub fn cargo_manifest_dir() -> PathBuf {
106106
get_path("CARGO_MANIFEST_DIR")
107107
}
108108

109-
/// Contains parameters needed for Cargo’s [jobserver] implementation to parallelize
110-
/// subprocesses.
111-
///
112-
/// Rustc or cargo invocations from build.rs can already read
113-
/// `CARGO_MAKEFLAGS`, but GNU Make requires the flags to be specified either
114-
/// directly as arguments, or through the `MAKEFLAGS` environment variable.
115-
/// Currently Cargo doesn’t set the `MAKEFLAGS` variable, but it’s free for build
116-
/// scripts invoking GNU Make to set it to the contents of `CARGO_MAKEFLAGS`.
117-
///
118-
/// [jobserver]: https://www.gnu.org/software/make/manual/html_node/Job-Slots.html
109+
/// The manifest `links` value.
119110
#[track_caller]
120111
pub fn cargo_manifest_links() -> Option<String> {
121112
get_opt_str("CARGO_MANIFEST_LINKS")

0 commit comments

Comments
 (0)