Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ is_value
Function
is_value
python27-sys/build.rs:158–160 ·
view source on GitHub ↗
(key: &str)
Source
from the content-addressed store, hash-verified
156
}
157
158
fn is_value(key: &str) -> bool {
159
SYSCONFIG_VALUES.iter().any(|x| *x == key)
160
}
161
162
fn cfg_line_for_var(key: &str, val: &str) -> Option<String> {
163
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