lean4-htt/tests/pkg/user_opt/lakefile.toml
Sebastian Ullrich b07384acbb
feat: accept user-defined options on the cmdline (#4741)
Initial options are now re-parsed and validated after importing. Cmdline
option assignments prefixed with `weak.` are silently discarded if the
option name without the prefix does not exist.

Fixes #3403
2024-08-02 12:24:56 +00:00

9 lines
210 B
TOML

name = "user_opt"
defaultTargets = ["UserOpt", "UserOptCmdline"]
[[lean_lib]]
name = "UserOpt"
[[lean_lib]]
name = "UserOptCmdline"
leanOptions = { myBoolOpt = true, weak.myNatOpt = 4, weak.notMyNatOpt = 5 }