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

Go 1.21 more fixes #27

Merged
merged 14 commits into from
Jan 2, 2024
Merged

Go 1.21 more fixes #27

merged 14 commits into from
Jan 2, 2024

Conversation

eh-steve
Copy link
Owner

@eh-steve eh-steve commented Dec 7, 2023

Fixes:

  • Don't rebuild partial packages purely because of their inittask if the inittask wasn't found in the host binary - it was probably eliminated due to being a no-op.
  • Improve firstmodule type registration by including unexported types (reflect.Type.Name() returns an empty string if TFlagNamed is not set, which is now the case for unexported types)
  • Only mark firstmodule types as unresolved symbols if their unreachable methods need to be reachable in JIT code (avoids rebuilding of more packages than needed)
  • Fix compilation failure on 1.21 go:info.runtime.pinnedTypemaps: relocation target go:info.[]map[github.com/eh-steve/goloader.typeOff]*github.com/eh-steve/goloader._type not defined
    Cherrypicks:
    pkujhd@ac97855
    pkujhd@22941f1
    pkujhd@2fbc174

@eh-steve eh-steve merged commit 8186a8d into master Jan 2, 2024
80 checks passed
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.

1 participant