MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / host_target_triple

Function host_target_triple

xtask/src/main.rs:9697–9716  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9695}
9696
9697fn host_target_triple() -> &'static str {
9698 #[cfg(all(target_os = "macos", target_arch = "aarch64"))]
9699 {
9700 return "aarch64-apple-darwin";
9701 }
9702 #[cfg(all(target_os = "linux", target_arch = "x86_64"))]
9703 {
9704 return "x86_64-unknown-linux-gnu";
9705 }
9706 #[cfg(all(target_os = "linux", target_arch = "aarch64"))]
9707 {
9708 return "aarch64-unknown-linux-gnu";
9709 }
9710 #[cfg(all(target_os = "windows", target_arch = "x86_64"))]
9711 {
9712 return "x86_64-pc-windows-msvc";
9713 }
9714 #[allow(unreachable_code)]
9715 "unsupported"
9716}
9717
9718fn source_by_name<'a>(manifest: &'a SourcesManifest, name: &str) -> Result<&'a SourcePin> {
9719 manifest

Callers 3

assetsFunction · 0.85
asset_download_targetsFunction · 0.85
install_local_assetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected