Closed
Description
If I build a crate like https://github.com/sfackler/rust-ssl with rustpkg, almost all of the crate attributes are stripped:
> rustpkg install
> rustc --ls .rust/lib/x86_64-unknown-linux-gnu/librust-ssl-8dab4bb9-0.0.so
=Crate Attributes (8dab4bb9f4fff5ebdbe14781c77c825b6ca4ff68c0b80c2e27930d44964863cd)=
#[pkgid = "rust-ssl#0.0"]
=External Dependencies=
1 std-04ff901ef9eb93b7ed8d17b7ddf76fa8eb8b4c7295ad21af7133790d77381330-0.9-pre
But if I build with rustc, they aren't:
> rustc --lib lib.rs
> rustc --ls liblib-9ed81b85-0.0.so
=Crate Attributes (9ed81b850cddab4573c0cde384af6edb8ee6c46b3a139e41b05018f8c3b53079)=
#[feature(struct_variant, macro_rules)]
#[link(name = "rust-ssl",
vers = "0.1",
package_id = "github.com/sfackler/rust-ssl")]
#[doc(html_root_url = "http://sfackler.github.io/rust-ssl/doc/rust-ssl/")]
#[pkgid = "lib#0.0"]
=External Dependencies=
1 std-04ff901ef9eb93b7ed8d17b7ddf76fa8eb8b4c7295ad21af7133790d77381330-0.9-pre
Metadata
Metadata
Assignees
Labels
No labels