MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / cargo_cmd_name

Function cargo_cmd_name

scripts/rust.py:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39@cache
40def cargo_cmd_name() -> str:
41 if isMusl():
42 return "cross"
43 else:
44 return "cargo"
45
46
47def rust_env(release: bool, variant: Optional[Variant] = None, linker=None) -> Dict[str, str]:

Callers 5

run_clippyFunction · 0.90
run_cargo_testsFunction · 0.90
run_cargo_testsFunction · 0.90
run_clippyFunction · 0.90
build_chat_binFunction · 0.90

Calls 1

isMuslFunction · 0.90

Tested by 2

run_clippyFunction · 0.72
run_cargo_testsFunction · 0.72