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

Fix Rustflags test #203

Merged
merged 1 commit into from
Aug 26, 2022
Merged

Fix Rustflags test #203

merged 1 commit into from
Aug 26, 2022

Conversation

jschwe
Copy link
Collaborator

@jschwe jschwe commented Aug 26, 2022

Corrosion selects Debug mode if Debug mode or nothing is specified and Release mode
for all other CMake build types.
This commit fixes the rustflags test for other build modes, where
Corrosion selected the release build mode for cargo.
Selecting a custom cargo profile will still cause issues for this test,
but there is not really a reason to do that when building corrosion,
so this can still be improved later.

Corrosion selects Debug mode if Debug mode or nothing is specified and Release mode
for all other CMake build types.
This commit fixes the rustflags test for other build modes, where
Corrosion selected the release build mode for cargo.
Selecting a custom cargo profile will still cause issues for this test,
but there is not really a reason to do that when building corrosion,
so this can still be improved later.
@jschwe jschwe merged commit 3432875 into corrosion-rs:master Aug 26, 2022
@jschwe jschwe deleted the rustflags-test branch August 26, 2022 15:06
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.

1 participant