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

print admonition for auto-import only once per module #57378

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Feb 12, 2025

Quiets the build somewhat, after #57311 made it noisy.

Quiets the build somewhat, after #57311 made it noisy.
@vtjnash vtjnash requested a review from Keno February 12, 2025 19:12
@@ -741,10 +741,11 @@ typedef struct _jl_binding_t {
_Atomic(jl_binding_partition_t*) partitions;
jl_array_t *backedges;
uint8_t did_print_backdate_admonition:1;
uint8_t did_print_implicit_import_admonition:1;
Copy link
Member

Choose a reason for hiding this comment

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

https://github.com/JuliaLang/julia/blob/master/base/invalidation.jl#L116 currently assumes the bitposition of the export flag which this changes. I'm about to refactor that code to no longer use the bitset (which is implementation defined anyway), but if you want to merge this change before then, you'll have to adjust one or the other.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the pointer. I will probably just fix the offset for now. Immediately after this PR, I want to change this to an atomics flags field so we can use atomic-and / atomic-or to set these flags safely.

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