Skip to content

Commit

Permalink
fix: ensure report rustc version if pre-built binary will be used
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Sep 16, 2024
1 parent 92eefe3 commit 3d972c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ check_bin_lib() {
echo ""
echo "---------------------- [LIBRARY BINARY FOUND] ----------------------"
echo "The library was found at <${LIBR_POLARS_PATH}>. No need to build it."
echo ""
echo "Note: rustc version: $(rustc -V || echo 'Not found')"
echo "--------------------------------------------------------------------"
echo ""
sed -e "s|@RUST_TARGET@||" -e "s|@ADDITIONAL_PKG_LIBS_FLAG@|${ADDITIONAL_PKG_LIBS_FLAG}|" src/Makevars.in >src/Makevars
Expand All @@ -87,6 +89,8 @@ check_bin_lib() {
echo "The library was not found at <${LIBR_POLARS_PATH}>,"
echo "but was found at <${LIBR_POLARS_DEFAULT_PATH}>."
echo "No need to build it."
echo ""
echo "Note: rustc version: $(rustc -V || echo 'Not found')"
echo "--------------------------------------------------------------------"
echo ""
sed -e "s|@RUST_TARGET@||" -e "s|@ADDITIONAL_PKG_LIBS_FLAG@|${ADDITIONAL_PKG_LIBS_FLAG}|" src/Makevars.in >src/Makevars
Expand Down

0 comments on commit 3d972c1

Please sign in to comment.