From 29baf4d725b6393f956d2ed123eddad77994919e Mon Sep 17 00:00:00 2001 From: Sergey Kvachonok Date: Fri, 25 Mar 2022 09:12:53 +0300 Subject: [PATCH] fixup! pyo3-build-config: Try "default" cross-compilation --- pyo3-build-config/src/impl_.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyo3-build-config/src/impl_.rs b/pyo3-build-config/src/impl_.rs index d0654baad44..4051f6ae1da 100644 --- a/pyo3-build-config/src/impl_.rs +++ b/pyo3-build-config/src/impl_.rs @@ -1386,9 +1386,9 @@ fn load_cross_compile_config( if config.lib_name.is_some() && config.lib_dir.is_none() { warn!( "The output binary will link to libpython, \ - but PYO3_CROSS_LIB_DIR environment variable is not set.\n\ + but PYO3_CROSS_LIB_DIR environment variable is not set. \ Ensure that the target Python library directory is \ - in the rustc library search path or linking will fail." + in the rustc native library search path." ); }