Skip to content

Mistakes in 'Build Script' docs #336

Closed
rust-lang/cargo
#3286
@alexreg

Description

@alexreg
  1. The sentence

Any other element is a user-defined metadata that will be passed to dependencies.

should instead read

Any other element is a user-defined metadata that will be passed to *dependents*.

  1. The sentence

We’ve also seen a brief example of how a build script can use a crate as a dependency purely for the build process and not for the crate itself at runtime.

should appear at the end of the 2nd case study, not the 1st, where it clearly doesn't apply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions