MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / target_dir

Function target_dir

tools/cargo-run/src/lib.rs:74–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74pub fn target_dir() -> PathBuf {
75 match std::env::var_os("CARGO_TARGET_DIR") {
76 Some(custom_dir) => workspace_dir().join(custom_dir),
77 None => workspace_dir().join("target"),
78 }
79}
80
81pub fn install_dir() -> PathBuf {
82 target_dir().join("cargo-run")

Callers 5

install_dirFunction · 0.85
build_wasm_stepsFunction · 0.85
clean_wasmFunction · 0.85
viteFunction · 0.85
watchFunction · 0.85

Calls 1

workspace_dirFunction · 0.85

Tested by

no test coverage detected