Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dgrunwald/rust-cpython
/ is_value
Function
is_value
python3-sys/build.rs:155–157 ·
view source on GitHub ↗
(key: &str)
Source
from the content-addressed store, hash-verified
153
}
154
155
fn is_value(key: &str) -> bool {
156
SYSCONFIG_VALUES.iter().any(|x| *x == key)
157
}
158
159
fn cfg_line_for_var(key: &str, val: &str) -> Option<String> {
160
if is_value(key) {
Callers
3
get_config_vars
Function · 0.70
cfg_line_for_var
Function · 0.70
main
Function · 0.70
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected