MCPcopy Create free account
hub / github.com/Nariod/RustPacker / local_build_target

Function local_build_target

src/compiler.rs:105–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105fn local_build_target() -> &'static str {
106 if cfg!(target_os = "windows") {
107 "x86_64-pc-windows-msvc"
108 } else {
109 BUILD_TARGET
110 }
111}
112
113fn compile_locally(path_to_cargo_folder: &Path) -> Result<(), Box<dyn std::error::Error>> {
114 let target = local_build_target();

Callers 1

compile_locallyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected