def METHOD_NAME(name):
    """Build a binary"""
    target = DEFAULT_BUILD_TARGET
    target_dir = FC_WORKSPACE_TARGET_DIR
    out_dir = Path(f"{target_dir}/{target}/release")
    bin_path = out_dir / name
    if not bin_path.exists():
        env = {"RUSTFLAGS": get_rustflags()}
        cargo(
            "build",
            f"-p {name} --release --target {target}",
            env=env,
            cwd=FC_WORKSPACE_DIR,
        )
        utils.run_cmd(f"strip --strip-debug {bin_path}")
    return bin_path