MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / prefix_and_extension

Method prefix_and_extension

tests/src/main.rs:44–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42
43impl DepKind {
44 fn prefix_and_extension(self) -> (&'static str, &'static str) {
45 match self {
46 Self::SpirvLib => ("lib", "rlib"),
47 Self::ProcMacro => (env::consts::DLL_PREFIX, env::consts::DLL_EXTENSION),
48 }
49 }
50
51 fn target_dir_suffix(self, target: &str) -> String {
52 match self {

Callers 1

find_libFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected