Load and return the parsed build_flags.toml.
()
| 31 | |
| 32 | |
| 33 | def _load_toml() -> dict[str, Any]: |
| 34 | """Load and return the parsed build_flags.toml.""" |
| 35 | if not BUILD_FLAGS_TOML.exists(): |
| 36 | raise FileNotFoundError(f"Build flags TOML not found: {BUILD_FLAGS_TOML}") |
| 37 | with open(BUILD_FLAGS_TOML, "rb") as f: |
| 38 | return tomllib.load(f) |
| 39 | |
| 40 | |
| 41 | def _dwarf_config(config: dict[str, Any]) -> dict[str, Any]: |
no test coverage detected