Skip to content

Conversation

JeffBezanson
Copy link
Member

  • 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

Copy link
Member

@topolarity topolarity left a comment

Choose a reason for hiding this comment

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

Thanks @JeffBezanson !

@nsajko nsajko added the trimming Issues with trimming functionality or PR's relevant to its performance/functionality label Feb 26, 2025
- 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
@vtjnash vtjnash merged commit d77c24f into master Feb 27, 2025
7 checks passed
@vtjnash vtjnash deleted the jb/trimmingmisc2 branch February 27, 2025 16:20
Comment on lines +36 to +38
init_depot_path() = nothing
init_load_path() = nothing
init_active_project() = nothing
Copy link
Member

@topolarity topolarity Feb 28, 2025

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
Copy link
Member

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

@topolarity topolarity added the backport 1.12 Change should be backported to release-1.12 label Feb 28, 2025
KristofferC pushed a commit that referenced this pull request Mar 3, 2025
- 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)
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Mar 24, 2025
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.

5 participants