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

corrosion_import_crate: Fix PROFILE argument in combination with CRATES #496

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

Felix-El
Copy link
Contributor

@Felix-El Felix-El commented Apr 2, 2024

Do not forward the PROFILE argument from corrosion_import_crate to _generator_add_cargo_targets.

Closes #495.

Felix-El and others added 2 commits April 2, 2024 14:42
Do not forward the PROFILE argument from `corrosion_import_crate`
to `_generator_add_cargo_targets`.
@jschwe
Copy link
Collaborator

jschwe commented Apr 3, 2024

Thanks for the PR! Yes, it's a leftover from 411a7f3, where the PROFILE argument was changed to be set via target property and not propagated down the call-chain anymore.

@jschwe jschwe changed the title corrosion_import_crate: Fix PROFILE argument corrosion_import_crate: Fix PROFILE argument in combination with CRATES Apr 3, 2024
@jschwe jschwe merged commit d5bdbfa into corrosion-rs:master Apr 3, 2024
36 checks passed
jschwe added a commit to jschwe/corrosion that referenced this pull request Apr 3, 2024
…ES (corrosion-rs#496)

Do not forward the PROFILE argument from `corrosion_import_crate`
to `_generator_add_cargo_targets`.
The PROFILE argument is forwarded via a target property set during
`corrosion_import_crate`. The remaining argument forwarding can
cause issues when combined with a multi-value-argument,
such as `CRATES`.

---------

Co-authored-by: Jonathan Schwender <schwenderjonathan@gmail.com>

(cherry picked from commit d5bdbfa)
jschwe added a commit that referenced this pull request Apr 3, 2024
…ES (#496)

Do not forward the PROFILE argument from `corrosion_import_crate`
to `_generator_add_cargo_targets`.
The PROFILE argument is forwarded via a target property set during
`corrosion_import_crate`. The remaining argument forwarding can
cause issues when combined with a multi-value-argument,
such as `CRATES`.

---------

Co-authored-by: Jonathan Schwender <schwenderjonathan@gmail.com>

(cherry picked from commit d5bdbfa)
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

Successfully merging this pull request may close these issues.

corrosion_import_crate: issue with PROFILE argument in combination with CRATES
2 participants