Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ main
Function
main
python3-sys/examples/version.rs:6–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
}
5
6
fn main() {
7
unsafe {
8
python3_sys::Py_Initialize();
9
println!(
"{}"
, get_str(python3_sys::Py_GetVersion()));
10
}
11
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected