Closed
Description
I have this crate:
[lib]
crate-type = ["staticlib"]
[[example]]
name = "l"
crate-type = ["staticlib"]
This succesfully builds my example into a static library.
However, I this information is not exposed through cargo read-manifest
:
$ cargo read-manifest|json_pp
{
"dependencies" : [],
"targets" : [
{
"name" : "cttest",
"src_path" : "src/lib.rs",
"kind" : [
"staticlib"
]
},
{
"kind" : [
"example"
],
"src_path" : "examples/l.rs",
"name" : "l"
}
],
...
Metadata
Metadata
Assignees
Labels
No labels