Skip to content

[#14505] fix: ensure lean_initialize is called when Lean is only privately imported - #9

Merged
downstream-lean4[bot] merged 4 commits into
masterfrom
adaptation-14505
Jul 27, 2026
Merged

downstream-lean4[bot] merged 4 commits into
masterfrom
adaptation-14505

Conversation

@downstream-lean4

Copy link
Copy Markdown
Contributor

This is the adaptation PR for leanprover/lean4#14505.

@downstream-lean4 downstream-lean4 Bot added the adaptation This is an adaptation PR for a PR in the lean4 repository. label Jul 23, 2026
argv = lean_setup_args(argc, argv); // if using process-related functionality
lean_initialize_runtime_module();
// necessary (and replaces `lean_initialize_runtime_module`) for code that (indirectly) accesses the `Lean` package:
//lean_initialize();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@downstream-lean4

downstream-lean4 Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

Build report for downstream: undo overrides

Stayed red
Repo Critical Build Test Lint
verso-slides 🟥 in 0m ⏭️ ⏭️
Stayed green
Repo Critical Build Test Lint
aesop ✅ in 0m ✅ in 0m ⏭️
batteries ✅ in 0m ✅ in 0m ✅ in 0m
import-graph ✅ in 0m ✅ in 0m ⏭️
lean4-cli ✅ in 0m ✅ in 0m ⏭️
mathlib4 ✅ in 4m ✅ in 2m ✅ in 3m
plausible ✅ in 0m ✅ in 0m ⏭️
ProofWidgets4 ✅ in 0m ✅ in 0m ⏭️
quote4 ✅ in 0m ✅ in 0m ⏭️
reference-manual ✅ in 0m ⏭️ ⏭️
BibtexQuery ✅ in 0m ⏭️ ⏭️
comparator ✅ in 0m ⏭️ ⏭️
cslib ✅ in 0m ✅ in 0m ✅ in 0m
doc-gen4 ✅ in 0m ⏭️ ⏭️
illuminate ✅ in 0m ✅ in 0m ⏭️
lean4-unicode-basic ✅ in 0m ✅ in 0m ⏭️
lean4export ✅ in 0m ✅ in 0m ⏭️
LeanSearchClient ✅ in 0m ✅ in 0m ⏭️
leansqlite ✅ in 0m ✅ in 0m ⏭️
repl ✅ in 0m ✅ in 1m ⏭️
verso ✅ in 0m ✅ in 3m ⏭️
verso-web-components ✅ in 0m ⏭️ ⏭️

View run

@downstream-lean4
downstream-lean4 Bot merged commit 79eab4e into master Jul 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adaptation This is an adaptation PR for a PR in the lean4 repository. toolchain-available

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant