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

Preserve directory structure of source files when some are generated #1526

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

cameron-martin
Copy link
Contributor

When some input files are generated, the source files get symlinked to bazel-out so the generated and source files are in the same directory. This was implemented in #1340. However, the directory structure would get flattened since only the basename was used for the symlink location. Now the package-relative path is used.

Fixes #1510.

When some input files are generated, the source files get symlinked to `bazel-out` so the generated and source files are in the same directory. This was implemented in bazelbuild#1340. However, the directory structure would get flattened since only the basename was used for the symlink location. Now the package-relative path is used.

Fixes bazelbuild#1510.
Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

Thanks so much!

@illicitonion illicitonion merged commit cfcaf21 into bazelbuild:main Aug 22, 2022
@cameron-martin cameron-martin deleted the fix-1510 branch August 22, 2022 13:59
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.

Broken rust_library with modules and generated sources
2 participants