lean4-htt/tests/pkg/user_plugin
Mac Malone ad5ec0e196
feat: user-specified init fn when loading plugins (#13510)
This PR adds the ability to specify a name for the initialization
function of a Lean plugin on load.

* The `Lean.loadPlugin` API has gained a `initFn?` argument that
defaults to `none`. When `none`, the initialization function name will
be inferred from the shared library's name (as before).
* The CLI `--plugin` option can now have a initialization function
specified via `--plugin=path:initFn`.
* The `--setup` JSON configuration now also accepts`{"path": ...,
"initFn": ...}` for plugins.
2026-05-05 20:20:54 +00:00
..
clean.sh
lakefile.toml
lean-toolchain chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
run_test.sh feat: user-specified init fn when loading plugins (#13510) 2026-05-05 20:20:54 +00:00
test.lean
testEnv.lean
testEnvUse.lean
UserEnvPlugin.lean
UserPlugin.lean