MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / _cargo_artifact_path

Function _cargo_artifact_path

misc/python/materialize/cli/run.py:521–528  ·  view source on GitHub ↗
(args: argparse.Namespace, program: str)

Source from the content-addressed store, hash-verified

519
520
521def _cargo_artifact_path(args: argparse.Namespace, program: str) -> pathlib.Path:
522 dir_name = "release" if args.release else "optimized" if args.optimized else "debug"
523 if args.sanitizer != "none":
524 artifact_path = MZ_ROOT / "target" / SANITIZER_TARGET / dir_name
525 else:
526 artifact_path = MZ_ROOT / "target" / dir_name
527
528 return artifact_path / program
529
530
531def _macos_codesign(path: str) -> None:

Callers 1

_cargo_buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected