Closed
Description
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).
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).