Skip to content

Conversation

topolarity
Copy link
Member

These modifications to the MethodTable should be performed at the "link-stage", after all user top-level code has executed. This should be closer to the upcoming 1.13 pipeline, which will move all top-level user code to its standard package execution context.

This also makes any user-provided functionality for type printing available to the TrimVerifier.

Resolves #59280.

These modifications to the MethodTable should be performed at the
"link-stage", after all user top-level code has executed. This should
be closer to the upcoming 1.13 pipeline, which will move all top-level
user code to its standard package execution context.

This also makes any user-provided functionality for type printing
available to the `TrimVerifier`.

Resolves JuliaLang#59280.
@topolarity topolarity added backport 1.12 Change should be backported to release-1.12 trimming Issues with trimming functionality or PR's relevant to its performance/functionality labels Aug 15, 2025
@topolarity topolarity requested a review from gbaraldi August 15, 2025 16:26
@JeffBezanson
Copy link
Member

It's a little unfortunate that we can't use a sysimage with trimming patches already applied to save time. It's ok for now, I just hope the patch files don't grow too much or it's going to drag compile time.

@topolarity
Copy link
Member Author

It's a little unfortunate that we can't use a sysimage with trimming patches already applied to save time. It's ok for now, I just hope the patch files don't grow too much or it's going to drag compile time.

If they grow too much, we'd have the opposite problem of creating a diverging code base that's not fully-functional, so either way I think we need to endeavor to shrink these as much as we can.

@KristofferC KristofferC mentioned this pull request Aug 18, 2025
38 tasks
@topolarity topolarity merged commit 19b810a into JuliaLang:master Aug 18, 2025
10 checks passed
topolarity added a commit that referenced this pull request Aug 18, 2025
These modifications to the MethodTable should be performed at the
"link-stage", after all user top-level code has executed. This should be
closer to the upcoming 1.13 pipeline, which will move all top-level user
code to its standard package execution context.

This also makes any user-provided functionality for type printing
available to the `TrimVerifier`.

Resolves #59280.
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Aug 19, 2025
KristofferC pushed a commit that referenced this pull request Sep 5, 2025
These modifications to the MethodTable should be performed at the
"link-stage", after all user top-level code has executed. This should be
closer to the upcoming 1.13 pipeline, which will move all top-level user
code to its standard package execution context.

This also makes any user-provided functionality for type printing
available to the `TrimVerifier`.

Resolves #59280.
KristofferC pushed a commit that referenced this pull request Sep 15, 2025
These modifications to the MethodTable should be performed at the
"link-stage", after all user top-level code has executed. This should be
closer to the upcoming 1.13 pipeline, which will move all top-level user
code to its standard package execution context.

This also makes any user-provided functionality for type printing
available to the `TrimVerifier`.

Resolves #59280.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
trimming Issues with trimming functionality or PR's relevant to its performance/functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

juliac crashes with MethodError(f=Base.Enums.namemap, args=(<EnumX type>.T,), world=[...])
4 participants