rust/hgcli/build.rs
changeset 45620 426294d06ddc
parent 44729 26ce8e751503
equal deleted inserted replaced
45619:e8078af6af30 45620:426294d06ddc
     3 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
     3 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
     4 
     4 
     5 /*! Build script to integrate PyOxidizer. */
     5 /*! Build script to integrate PyOxidizer. */
     6 
     6 
     7 fn main() {
     7 fn main() {
     8     if let Ok(config_rs) = std::env::var("DEP_PYTHONXY_DEFAULT_PYTHON_CONFIG_RS") {
     8     if let Ok(config_rs) =
       
     9         std::env::var("DEP_PYTHONXY_DEFAULT_PYTHON_CONFIG_RS")
       
    10     {
     9         println!(
    11         println!(
    10             "cargo:rustc-env=PYOXIDIZER_DEFAULT_PYTHON_CONFIG_RS={}",
    12             "cargo:rustc-env=PYOXIDIZER_DEFAULT_PYTHON_CONFIG_RS={}",
    11             config_rs
    13             config_rs
    12         );
    14         );
    13     } else {
    15     } else {