-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crate type of examples is not included in read-manifest output #3572
Comments
Unrelated note: I think we perhaps don't need |
@matklad yeah I think you're right, its own kind is likely unwarranted now |
When I have a project with a Cargo.toml like this: [package]
name = "dev-dep-test"
version = "0.1.0"
authors = ["Carol (Nichols || Goulding) <[email protected]>"]
[lib]
crate-type = ["staticlib"]
[[example]]
name = "simple"
crate-type = ["staticlib"] And this example/simple.rs: pub fn foo() {} If I run "target": {
"crate_types": [
"staticlib"
],
"kind": [
"example"
],
"name": "simple",
"src_path": "/Users/carolnichols/rust/dev-dep-test/examples/simple.rs"
} So I think this can be closed. Please reopen if I'm mistaken! Thank you! |
I have this crate:
This succesfully builds my example into a static library.
However, I this information is not exposed through
cargo read-manifest
:The text was updated successfully, but these errors were encountered: