Skip to content

[move-compiler] Fix a crash when public(package) processing involves pre-compiled modules#25469

Draft
awelc wants to merge 2 commits intomainfrom
aw/move-compiler-friends-fix
Draft

[move-compiler] Fix a crash when public(package) processing involves pre-compiled modules#25469
awelc wants to merge 2 commits intomainfrom
aw/move-compiler-friends-fix

Conversation

@awelc
Copy link
Contributor

@awelc awelc commented Feb 13, 2026

Description

In a recent PR we changed how move-analyzer uses pre-compiled libraries. In particular, some dependency modules from the same package can be passed to the compiler as pre-compiled libs and some can be fully compiled.

This exposed a problem fixed in the current PR which is related to updating information related package(public) in dependency modules. Prior to the move-analyzer change it was never possible to have some modules from the same package in pre-compiled libs and some fully compiled and for a given fully compiled module it was expected to have all its friend modules also fully compiled (or the compiler would crash)

Test plan

Added a new move-analyzer test that exposed the problem prior to the fix. All tests must pass

@awelc awelc requested a review from cgswords February 13, 2026 21:56
@vercel
Copy link

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sui-docs Ready Ready Preview, Comment Feb 13, 2026 10:56pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Preview Feb 13, 2026 10:56pm
sui-kiosk Ignored Ignored Preview Feb 13, 2026 10:56pm

Request Review

@awelc awelc temporarily deployed to sui-typescript-aws-kms-test-env February 13, 2026 21:56 — with GitHub Actions Inactive
@awelc awelc requested a review from tnowacki February 13, 2026 21:58
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