rust/hgcli/build.rs
changeset 35607 24b5106e3e1e
parent 35603 11c86ab69e67
child 43818 ce088b38f92b
equal deleted inserted replaced
35606:4b68ca118d8d 35607:24b5106e3e1e
    82     dll.push("python27.dll");
    82     dll.push("python27.dll");
    83 
    83 
    84     return dll.exists();
    84     return dll.exists();
    85 }
    85 }
    86 
    86 
    87 const REQUIRED_CONFIG_FLAGS: [&'static str; 2] = ["Py_USING_UNICODE", "WITH_THREAD"];
    87 const REQUIRED_CONFIG_FLAGS: [&str; 2] = ["Py_USING_UNICODE", "WITH_THREAD"];
    88 
    88 
    89 fn main() {
    89 fn main() {
    90     let config = get_python_config();
    90     let config = get_python_config();
    91 
    91 
    92     println!("Using Python: {}", config.python);
    92     println!("Using Python: {}", config.python);