Skip to content

Conversation

@vaibhav-1207
Copy link
Contributor

@vaibhav-1207 vaibhav-1207 commented Dec 19, 2025

The libclang attr is currently used to set env variables for the underlying clang-sys crate to dynamically link libclang. In build systems that use static linking, these are redundant. Making libclang attr optional simplifies the toolchain config for static linking.

@krasimirgg krasimirgg self-requested a review December 19, 2025 11:18
Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

Can you add some rationale for why?

@vaibhav-1207
Copy link
Contributor Author

I've updated the description with the rationale. LMK if you have any questions.

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