d_msg_class mostly equivalent (#2403)

This commit is contained in:
hatal175
2025-04-20 17:46:09 -07:00
committed by GitHub
parent 9194774985
commit b2d665c911
10 changed files with 2397 additions and 636 deletions
+3 -3
View File
@@ -316,7 +316,7 @@ cflags_rel = [
"-sdata2 0",
]
def MWVersion(cfg_version: str):
def MWVersion(cfg_version: str) -> str:
match cfg_version:
case "GZ2E01":
return "GC/2.7"
@@ -375,7 +375,7 @@ Equivalent = config.non_matching # Object should be linked when configured with
# Object is only matching for specific versions
def MatchingFor(*versions):
def MatchingFor(*versions) -> bool:
return config.version in versions
@@ -2213,7 +2213,7 @@ out_dir = config.build_dir / version
# This generates the build steps needed for preprocessing
def emit_build_rule(asset):
def emit_build_rule(asset: Dict[str, Any]) -> None:
steps = config.custom_build_steps.setdefault("pre-compile", [])
custom_data = asset.get("custom_data") or {}