You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A stale prebuilt stdlib is reported as a compiler bug, with a pre-filled bug report #751
When the prebuilt standard library is older than the stdlib sources (any checkout ahead of the last build, e.g. after git pull or switching branches), every command fails with:
Internal error: invalid prebuilt standard library: source digest mismatch — rebuild the stdlib artifacts
This is a bug in the Kex compiler, not in your program. Please report it, with what is filled in here:
https://github.com/kexhq/kex/issues/new?labels=Bug&title=Internal%20error%3A%20invalid%20prebuilt…
This is a stale build, not a compiler bug, and the pre-filled report invites issues that cannot be acted on. It is easy to hit: one build one commit behind main produced it, and so did switching back to an older branch with a newer binary.
Expected: a plain diagnostic that says the toolchain's prebuilt stdlib does not match its sources and names the fix (cmake --build <build dir>, or reinstalling the toolchain via tey kex install), without the crash-report text. The check is preludeSourceHash in src/common/prelude_interfaces.hxx.
Seen on 0.4.0-rc.4 (0292db50), macOS arm64, OTP 29.
Activity