-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Cargo features #11867
Cargo features #11867
Conversation
xclaesse
commented
Jun 12, 2023
•
edited
Loading
edited
- cargo: Call into meson subdir if it exists
- cargo: Abort if features are missing
- cargo: Expose features as Meson boolean options
- cargo: Use coredata.stable_version
- cargo: Builder: method() object can be any BaseNode
- cargo: Builder: Add support for "!=", "in" and "not in" operators
- cargo: Builder: Add support for "+", "+=", "if" and "foreach"
- printer: Add a newline after "else"
- printer: notin operator should be printed as "not in"
- interpreter: Dependency variables can be empty string
a5310c9
to
5a7ba80
Compare
5a7ba80
to
c215b75
Compare
c215b75
to
402783f
Compare
7ec22e2
to
34f7b88
Compare
3d02f9e
to
26d3165
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't gotten through the actual meaty patches yet, but I'm out of time for the moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New features are documented in the wrap documentation but not as a release notes snippet.
862ac10
to
48459e9
Compare
There is no reason to forbid empty variables, PkgConfigCLI.variable() even has code specifically for handling that case.
StringNode for example also have methods.
This avoids generated code print warnings when using features introduced in current dev cycle.
This allows projects to manually add extra rust args and deps. This is intended to replace build.rs logic.
48459e9
to
435e881
Compare
CI failure is unrelated, and this PR only touch experimental Cargo code, let's merge. |
ah @jpakkane did it already :) |