Skip to content

macros/lib: Don't copy DLL files outside of the workspace target folder #1068

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

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

MarijnS95
Copy link
Contributor

The previous commit now uses a different folder for target_dir, namely target/ directly instead of target/<profile>/deps. Popping this twice would go outside of the directory containing target/ and copy DLL files into every folder matching the <profile> name (ie. every debug folder inside my Rust/ projects folder).

Fixes: 1291b32 ("Remove binary packaging support (#1067)")

The previous commit now uses a different folder for `target_dir`, namely
`target/` directly instead of `target/<profile>/deps`.  Popping this
twice would go outside of the directory containing `target/` and copy
DLL files into _every_ folder matching the `<profile>` name (ie. every
`debug` folder inside my `Rust/` projects folder).

Fixes: 1291b32 ("Remove binary packaging support (microsoft#1067)")
Copy link
Collaborator

@kennykerr kennykerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@kennykerr kennykerr merged commit 2a9f017 into microsoft:master Aug 19, 2021
@MarijnS95 MarijnS95 deleted the dont-copy-into-all-projects branch August 19, 2021 20:49
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.

2 participants