-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
some updates for trimming #57531
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
some updates for trimming #57531
Conversation
JeffBezanson
commented
Feb 25, 2025
- add a nospecialize to throw_boundserror
- disable load path setup
- remove upstreamed change to utf8proc_map
- fix warning for accessing mod.main in the wrong world
- remove binding backedges when trimming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @JeffBezanson !
- disable load path setup - remove upstreamed change to utf8proc_map - fix warning for accessing mod.main in the wrong world - remove binding backedges when trimming
410b5e2
to
cff290c
Compare
init_depot_path() = nothing | ||
init_load_path() = nothing | ||
init_active_project() = nothing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We depend on these at runtime, esp. the depot path to lookup artifacts - I think this should likely be reverted too
return String(resize!(buffer, nbytes)) | ||
end | ||
@eval Base.Sys begin | ||
__init_build() = nothing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly here - this code is responsible for setting up Sys.BINDIR
and Sys.STDLIB
Not sure we should just be leaving them uninitialized
- disable load path setup - remove upstreamed change to utf8proc_map - fix warning for accessing mod.main in the wrong world - remove binding backedges when trimming (cherry picked from commit d77c24f)