Skip to content

--link* options don't do anything #376

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

Closed
jsgf opened this issue Jan 4, 2017 · 2 comments
Closed

--link* options don't do anything #376

jsgf opened this issue Jan 4, 2017 · 2 comments

Comments

@jsgf
Copy link
Contributor

jsgf commented Jan 4, 2017

--link, --framework-link and --static-link are parsed and put into BindgenOptions::links, but as far as I can tell nothing does anything with them after that.

Presumably the intent is to generate a set of #[link ...] directives before the extern "C" { ... }?

@jsgf jsgf changed the title --link* don't do anything --link* options don't do anything Jan 4, 2017
@emilio
Copy link
Contributor

emilio commented Jan 4, 2017

Yes, this is a dupe of #104.

TLDR, I'm not sure it's bindgen's business, but if you give me a use-case you can't solve cleanly and needs bindgen to support it, I'd be happy to add them back.

@emilio
Copy link
Contributor

emilio commented Jan 4, 2017

(Cleanly as: using either --raw-line from bindgen's CLI, or the standard cargo build script foo if used in a build script).

Closing as a dupe, feel free to comment over #104 :)

@emilio emilio closed this as completed Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants