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

Prevent resource directories from breaking sources hash #2654

Conversation

Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Jan 8, 2024

Indirectly tied to #2621 (a compiler plugin could not be packaged when the resources were passed through a command line option instead of a directive)

This effectively fixes the (previously broken) --resource-dir command line option, as passing a resource directory through it forced sources hash to crash on the unhandled resource directory path.
What's interesting, this did not happen when the resource directory was passed via a using directive.

Either way, sources hash should not be affected by the resources directory.

@Gedochao Gedochao force-pushed the maintenance/fix-resource-dir-cmdline-option branch from 8685a97 to f77f2b1 Compare January 8, 2024 12:51
@Gedochao Gedochao merged commit 29f2a63 into VirtusLab:main Jan 8, 2024
58 checks passed
@Gedochao Gedochao deleted the maintenance/fix-resource-dir-cmdline-option branch January 8, 2024 14:57
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.

None yet

3 participants