Skip to content

Tutorial section on crates shouldn't mention --lib #2070

Closed
@brson

Description

@brson

http://doc.rust-lang.org/doc/tutorial.html#crates

It discusses using the --lib switch to make libraries. The correct way now is to use the #[crate_type = "lib"] crate attribute (I think).

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions