-
Notifications
You must be signed in to change notification settings - Fork 5
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
More documentation, please #7
Comments
I'd merge any PR that improves it. |
cargo-c is way too heavy weight for my needs. When I tried it, it pulled in 189 dependencies, IIRC. I think this mostly has to do with its header file generation, which I don't need, and its pkg-config generation, which didn't work for me. |
The pkg-config generation should work, and possibly it could be spun off in a stand alone crate if needed. cargo-c is heavy since it needs to use the full cargo, but, on the other hand you pay for it only once for any library you want to create :) What did not work for you? |
I documented some of the issues I encountered here.
|
That's something to be discussed with Debian I'm afraid.
This may be hairy if
You probably tripped on lu-zero/cargo-c#208
There is now, maybe not when you tried it :) |
I'm not against depending on other software, but 199 dependencies are a lot especially when the functionality I require doesn't actually need them. |
Just to keep this up to date: cargo-c is in debian since a while. |
The package has very little documentation. I had to read the source code to understand how to use
shared_object_link_args
. It would be good if that contained an example. Also, it would be good if themetabuild
described what it does. Something like: "based on the platform and the Cargo.toml figures out an appropriate soname, etc., and then emitscargo:rustc-cdylib-link-arg
, which rustc passes to the linker", would already be quite helpful.The text was updated successfully, but these errors were encountered: