Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/doc/src/reference/build-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,17 @@ one detailed below.
re-run the script.
* [`cargo:rerun-if-env-changed=VAR`](#rerun-if-env-changed) — Tells Cargo when
to re-run the script.
* [`cargo:rustc-link-arg=FLAG`](#rustc-link-arg) Passes custom flags to a
* [`cargo:rustc-link-arg=FLAG`](#rustc-link-arg) Passes custom flags to a
linker for benchmarks, binaries, `cdylib` crates, examples, and tests.
* [`cargo:rustc-link-arg-bin=BIN=FLAG`](#rustc-link-arg-bin) Passes custom
* [`cargo:rustc-link-arg-bin=BIN=FLAG`](#rustc-link-arg-bin) Passes custom
flags to a linker for the binary `BIN`.
* [`cargo:rustc-link-arg-bins=FLAG`](#rustc-link-arg-bins) Passes custom
* [`cargo:rustc-link-arg-bins=FLAG`](#rustc-link-arg-bins) Passes custom
flags to a linker for binaries.
* [`cargo:rustc-link-arg-tests=FLAG`](#rustc-link-arg-tests) Passes custom
* [`cargo:rustc-link-arg-tests=FLAG`](#rustc-link-arg-tests) Passes custom
flags to a linker for tests.
* [`cargo:rustc-link-arg-examples=FLAG`](#rustc-link-arg-examples) Passes custom
* [`cargo:rustc-link-arg-examples=FLAG`](#rustc-link-arg-examples) Passes custom
flags to a linker for examples.
* [`cargo:rustc-link-arg-benches=FLAG`](#rustc-link-arg-benches) Passes custom
* [`cargo:rustc-link-arg-benches=FLAG`](#rustc-link-arg-benches) Passes custom
flags to a linker for benchmarks.
* [`cargo:rustc-link-lib=LIB`](#rustc-link-lib) — Adds a library to
link.
Expand Down