Skip to content

Only embed Windows resources for binary targets#374

Open
lingyaochu wants to merge 1 commit intomicrosoft:mainfrom
lingyaochu:win_resource
Open

Only embed Windows resources for binary targets#374
lingyaochu wants to merge 1 commit intomicrosoft:mainfrom
lingyaochu:win_resource

Conversation

@lingyaochu
Copy link

Closes #373

Ensures winresource only runs when building binary targets by checking the CARGO_BIN_NAME environment variable. This prevents resource conflicts when pet is used as a library dependency on Windows.

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.

build.rs conflicts with downstream projects on Windows (CVT1100: duplicate resource)

1 participant