Skip to content
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

Passing non-boolean options to dependencies #1315

Closed
Binero opened this issue Feb 15, 2015 · 5 comments
Closed

Passing non-boolean options to dependencies #1315

Binero opened this issue Feb 15, 2015 · 5 comments
Labels
A-features Area: features — conditional compilation

Comments

@Binero
Copy link

Binero commented Feb 15, 2015

Is it possible to pass options to the build script of one of the dependencies? I require this for some sophisticated code generation.

@alexcrichton
Copy link
Member

There are indeed! All enabled features of a crate are passed through into the build script. This means various options are enabled via enabling features.

@Binero
Copy link
Author

Binero commented Feb 16, 2015

@alexcrichton This is not really what I'm looking for. This only allows me to set on/off flags, which represent packages. I want to be able to set other options, like integers, version numbers, etc.

@alexcrichton
Copy link
Member

Ah yes, this is not currently supported (you'd have to add a feature-per-value basically).

@alexcrichton alexcrichton reopened this Feb 16, 2015
@alexcrichton alexcrichton changed the title Passing options to dependencies Passing non-boolean options to dependencies Feb 16, 2015
@alexcrichton alexcrichton added the A-features Area: features — conditional compilation label Feb 16, 2015
@stale
Copy link

stale bot commented Sep 21, 2018

As there hasn't been any activity here in a while would someone (the author, a team member, or any interested party) be able to summarise the current state, perhaps making explicit:

  • Is this still relevant?
  • If so, what is blocking it?
  • Is it known what could be done to help move this forward?

Thank you!

(The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.)

If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable!

@stale stale bot added the stale label Sep 21, 2018
@stale
Copy link

stale bot commented Oct 21, 2018

As I didn't see any updates in 30 days I'm going to close this. Please see the previous comment for more information!

@stale stale bot closed this as completed Oct 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-features Area: features — conditional compilation
Projects
None yet
Development

No branches or pull requests

2 participants