Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahgamut/rust-ape-example
/ conditional_function
Function
conditional_function
src/bin/attribute_cfg_custom.rs:5–7 ·
view source on GitHub ↗
#[cfg(some_condition)]*/
()
Source
from the content-addressed store, hash-verified
3
/*
4
#[cfg(some_condition)]*/
5
fn conditional_function() {
6
println!(
"condition met!"
);
7
}
8
9
fn part0() {
10
conditional_function();
Callers
1
part0
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected