Skip to content

Commit

Permalink
Auto merge of #3018 - Jake-Shadle:master, r=steveklabnik
Browse files Browse the repository at this point in the history
docs(manifest): Update crate-types with `cdylib`

Rust 1.11 now supports the `cdylib` crate-type, so added it to the list of options.

Also added a link to the [Linkage](https://doc.rust-lang.org/reference.html#linkage) section in the Rust Reference manual which explains what the different crate types actually mean in practice....though right now it actually doesn't explain what a `cdylib` is, specifically. ;)
  • Loading branch information
bors committed Aug 19, 2016
2 parents 9f8c469 + c3a2e78 commit 9945504
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/doc/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,12 @@ name = "..."
crate-type = ["dylib"] # could be `staticlib` as well
```

The available options are `dylib`, `rlib`, and `staticlib`. You should only use
this option in a project. Cargo will always compile packages (dependencies)
based on the requirements of the project that includes them.
The available options are `dylib`, `rlib`, `staticlib`, and `cdylib`. You
should only use this option in a project. Cargo will always compile packages
(dependencies) based on the requirements of the project that includes them.

You can read more about the different crate types in the
[Rust Reference Manual](https://doc.rust-lang.org/reference.html#linkage)

# The `[replace]` Section

Expand Down

0 comments on commit 9945504

Please sign in to comment.