Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
def
cargo_cmd_name() -> str:
41
if
isMusl():
42
return
"cross"
43
else
:
44
return
"cargo"
45
46
47
def
rust_env(release: bool, variant: Optional[Variant] = None, linker=None) -> Dict[str, str]:
Callers
5
run_clippy
Function · 0.90
run_cargo_tests
Function · 0.90
run_cargo_tests
Function · 0.90
run_clippy
Function · 0.90
build_chat_bin
Function · 0.90
Calls
1
isMusl
Function · 0.90
Tested by
2
run_clippy
Function · 0.72
run_cargo_tests
Function · 0.72