We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cairo 2.5.0 introduced per-crate cfg sets (starkware-libs/cairo#4831). We need to include them in scarb-metadata output.
Add a new field to CompilationUnitComponentMetadata:
CompilationUnitComponentMetadata
#[serde(default)] pub cfg: Vec<Cfg>
and populate it with cfg items to-be-attached to this unit.
The global per-unit cfg items set should get main component's cfg items, for backwards compatibility reason.
scarb-metadata
The text was updated successfully, but these errors were encountered:
scarb test
Do not compile tests from dependencies in scarb test (#1084)
7e127a9
Resolves - #940 - #1076
szymmis
Successfully merging a pull request may close this issue.
Problem
Cairo 2.5.0 introduced per-crate cfg sets (starkware-libs/cairo#4831). We need to include them in scarb-metadata output.
Proposed Solution
Add a new field to
CompilationUnitComponentMetadata
:and populate it with cfg items to-be-attached to this unit.
The global per-unit cfg items set should get main component's cfg items, for backwards compatibility reason.
Notes
scarb-metadata
release after merging these changes.The text was updated successfully, but these errors were encountered: