Browse Source

rust: Upgrade bootstrap to version 1.76

master
mid-kid 9 months ago
parent
commit
e54e7e85a7
  1. 27
      rust/build.sh
  2. 39
      rust/build_llvm.sh
  3. 34
      rust/build_mrustc.sh
  4. 19
      rust/build_openssl.sh
  5. 41
      rust/build_rust.sh
  6. 18
      rust/download.sh
  7. 36
      rust/download.sha256
  8. 10
      rust/files/llvm-10.0.1-fix-includes.patch
  9. 23
      rust/install_gentoo.txt
  10. 16
      rust/llvm_versions.txt
  11. 27
      rust/patches/mrustc-0.9-gcc9.patch
  12. 19
      rust/patches/rustc-1.19.0-new-openssl.patch

27
rust/build.sh

@ -5,31 +5,28 @@ export MAKEFLAGS="-j${NPROC:-$(nproc)}"
export CFLAGS='-w'
export CXXFLAGS="$CFLAGS"
version_mrustc=0.9
version_openssl=1.1.1w
version_mrustc=0.10.1
version_mrustc_rust=1.29.0
versions_llvm='7.1.0 10.0.1'
versions_rustc='1.30.1 1.31.1 1.32.0 1.33.0 1.34.2 1.35.0 1.36.0 1.37.0 1.38.0 1.39.0 1.40.0 1.41.1 1.42.0 1.43.1 1.44.1 1.45.2 1.46.0 1.47.0'
versions_llvm='7.1.0 10.0.1 13.0.1 16.0.6'
versions_rustc='1.30.1 1.31.1 1.32.0 1.33.0 1.34.2 1.35.0 1.36.0 1.37.0 1.38.0 1.39.0 1.40.0 1.41.1 1.42.0 1.43.1 1.44.1 1.45.2 1.46.0 1.47.0 1.48.0 1.49.0 1.50.0 1.51.0 1.52.1 1.53.0 1.54.0 1.55.0 1.56.1 1.57.0 1.58.1 1.59.0 1.60.0 1.61.0 1.62.1 1.63.0 1.64.0 1.65.0 1.66.1 1.67.1 1.68.2 1.69.0 1.70.0 1.71.1 1.72.1 1.73.0 1.74.1 1.75.0 1.76.0'
[ ! -d build/install-rustc-$version_mrustc_rust ] && ./build_mrustc.sh
# Save a ton of space by deleting the source
test -d build/install-openssl || ./build_openssl.sh
rm -rf build/openssl-$version_openssl
test -d build/install-rustc-$version_mrustc_rust || ./build_mrustc.sh
rm -rf build/mrustc-$version_mrustc
for version in $versions_llvm; do
[ ! -d build/install-llvm-$version ] && ./build_llvm.sh $version
# Save a ton of space by deleting the source
test -d build/install-llvm-$version || ./build_llvm.sh $version
rm -rf build/llvm-$version.src
rm -rf build/llvm-project-$version
rm -rf build/llvm-project-$version.src
done
last_version=$version_mrustc_rust
for version in $versions_rustc; do
case "$version" in
1.3[0-9].*|1.4[0-3].*)
version_llvm=7.1.0 ;;
1.4[4-7].*|*)
version_llvm=10.0.1 ;;
esac
[ ! -e build/install-rustc-$version/bin/cargo ] && ./build_rust.sh $last_version $version $version_llvm
# Save a ton of space by deleting the source
test -e build/install-rustc-$version/bin/cargo || ./build_rust.sh $last_version $version
rm -rf build/rustc-$version-src
last_version=$version
done

39
rust/build_llvm.sh

@ -4,12 +4,37 @@ set -eu
version_llvm="$1"
dir_download="$PWD/download"
dir_files="$PWD/files"
mkdir -p build; cd build
dir_install="$PWD/install-llvm-$version_llvm"
case "$version_llvm" in
7.*|8.*)
tarball="llvm-$version_llvm.src"
dir_source="$tarball"
;;
9.*|10.*)
tarball="llvm-project-$version_llvm"
dir_source="$tarball/llvm"
;;
*)
tarball="llvm-project-$version_llvm.src"
dir_source="$tarball/llvm"
;;
esac
# Prepare source
tar xf "$dir_download/llvm-$version_llvm.src.tar.xz"
cd "llvm-$version_llvm.src"
tar xf "$dir_download/$tarball.tar.xz"
cd "$dir_source"
case "$version_llvm" in
10.*)
patch -p2 -i "$dir_files/llvm-10.0.1-fix-includes.patch"
;;
13.*)
patch -p2 -i "$dir_files/llvm-10.0.1-fix-includes.patch"
;;
esac
mkdir -p build; cd build
@ -17,9 +42,11 @@ mkdir -p build; cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX="$dir_install" \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DLLVM_INSTALL_UTILS=ON
-DLLVM_TARGETS_TO_BUILD=X86 \
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_INCLUDE_BENCHMARKS=OFF
# Build and install
make
make install
cmake --build . $MAKEFLAGS
cmake --install .

34
rust/build_mrustc.sh

@ -1,7 +1,7 @@
#!/bin/sh
set -eu
version_mrustc=0.9
version_mrustc=0.10.1
version_mrustc_rust=1.29.0
dir_download="$PWD/download"
@ -13,29 +13,29 @@ dir_install="$PWD/install-rustc-$version_mrustc_rust"
tar xf "$dir_download/mrustc-$version_mrustc.tar.gz"
cd "mrustc-$version_mrustc"
patch -p1 -i "$dir_patches/mrustc-0.9-gcc9.patch"
sed -i -e 's/$(shell git show --pretty=%H -s)/15773561e40ca5c8cffe0a618c544b6cfdc5ad7e/g' \
-e 's/$(shell git symbolic-ref -q --short HEAD || git describe --tags --exact-match)/v0.9/g' \
-e 's/$(shell git show -s --pretty=%h)/15773561/g' \
sed -i -e 's/$(shell git show --pretty=%H -s --no-show-signature)/b6754f574f8846eb842feba4ccbeeecb10bdfacc/g' \
-e 's/$(shell git symbolic-ref -q --short HEAD || git describe --tags --exact-match)/v0.10.1/g' \
-e 's/$(shell git show -s --pretty=%h --no-show-signature)/b6754f5/g' \
-e 's/$(shell git diff-index --quiet HEAD; echo $$?)/0/g' \
Makefile
sed -i -e 's/$Vtime /$V/' \
-e "s/^\techo '#\!/\techo -e '#\!/" \
run_rustc/Makefile
sed -i -e 's/CMAKE_BUILD_TYPE=RelWithDebInfo/CMAKE_BUILD_TYPE=Release/' \
minicargo.mk
sed -i -e 's/ -g\>//' Makefile tools/common/Makefile tools/minicargo/Makefile
sed -i -e '/args.push_back("-g");/d' tools/minicargo/build.cpp
cp "$dir_download/rustc-$version_mrustc_rust-src.tar.xz" .
make RUSTC_VERSION=$version_mrustc_rust RUSTC_SRC_TARBALL="rustc-$version_mrustc_rust-src.tar.xz" RUSTCSRC
make RUSTC_SRC_TARBALL="rustc-$version_mrustc_rust-src.tar.xz" RUSTCSRC
# Build and install
export RUSTC_VERSION=$version_mrustc_rust
export MRUSTC_TARGET_VER=$(echo $version_mrustc_rust | rev | cut -d . -f 2- | rev)
make -C tools/common
make -C tools/minicargo
export PKG_CONFIG_PATH="$PWD/../install-openssl/lib/pkgconfig:${PKG_CONFIG_PATH:-}"
export CMAKE_GENERATOR='Unix Makefiles'
make
make -f minicargo.mk rustc-$version_mrustc_rust-src/build/bin/llvm-config
make -j1 -f minicargo.mk output/rustc output/cargo
make -j1 PREFIX="$dir_install/" -C run_rustc
make -f minicargo.mk
make -C run_rustc
cp -a run_rustc/output/prefix "$dir_install"
cat > "$dir_install/bin/rustc" << EOF
#!/bin/sh
d=\$(dirname \$0)
LD_LIBRARY_PATH="$dir_install/lib:$dir_install/lib/rustlib/$(uname -m)-unknown-linux-gnu/lib" \$d/rustc_binary \$@
EOF

19
rust/build_openssl.sh

@ -0,0 +1,19 @@
#!/bin/sh
set -eu
version_openssl=1.1.1w
dir_download="$PWD/download"
mkdir -p build; cd build
dir_install="$PWD/install-openssl"
# Prepare source
tar xf "$dir_download/openssl-$version_openssl.tar.gz"
cd "openssl-$version_openssl"
# Configure source
./config --prefix="$dir_install" no-shared
# Build and install
make
make install

41
rust/build_rust.sh

@ -3,7 +3,27 @@ set -eu
version_rustc_bootstrap="$1"
version_rustc="$2"
version_llvm="$3"
case "$version_rustc" in
1.3[0-9].*|1.4[0-3].*)
version_llvm=7.1.0 ;;
1.4[4-9].*|1.5[0-7].*)
version_llvm=10.0.1 ;;
1.5[8-9].*|1.6[0-8].*)
version_llvm=13.0.1 ;;
*)
version_llvm=16.0.6 ;;
#version_llvm=17.0.1 ;;
esac
case "$version_rustc" in
1.3[0-9].*|1.4[0-6].*)
targets='src/libstd src/librustc cargo' ;;
1.4[7-9].*|1.5[0-9].*|1.6[0-1].*)
targets='library/std src/librustc cargo' ;;
*)
targets='library/std compiler/rustc cargo' ;;
esac
dir_download="$PWD/download"
mkdir -p build; cd build
@ -14,24 +34,17 @@ tar xf "$dir_download/rustc-$version_rustc-src.tar.xz"
cd "rustc-$version_rustc-src"
# Configure source
export PKG_CONFIG_PATH="$PWD/../install-openssl/lib/pkgconfig"
export OPENSSL_STATIC=1
./configure \
--build="$("$PWD/../install-llvm-$version_llvm/bin/llvm-config" --host-target)" \
--prefix="$dir_install" \
--sysconfdir="$dir_install/etc" \
--local-rust-root="$PWD/../install-rustc-$version_rustc_bootstrap" \
--llvm-root="$PWD/../install-llvm-$version_llvm" \
--enable-vendor
# --enable-llvm-link-shared
case "$version_rustc" in
1.3[0-9].*|1.4[0-6].*)
paths='src/libstd src/librustc cargo' ;;
1.47.*|*)
paths='library/std src/librustc cargo' ;;
esac
# ./x.py install --stage 1 compiler/rustc library/std
# ./x.py install --stage 0 cargo
--enable-vendor \
--release-channel=release
# Build and install
mkdir -p "$dir_install"
./x.py install $MAKEFLAGS --stage 2 $paths
./x.py install --stage 2 $targets $MAKEFLAGS

18
rust/download.sh

@ -1,19 +1,29 @@
#!/bin/sh
set -eu
version_mrustc=0.9 # https://github.com/thepowersgang/mrustc/tags
version_openssl=1.1.1w # https://www.openssl.org/source/old/1.1.1/index.html
version_mrustc=0.10.1 # https://github.com/thepowersgang/mrustc/tags
version_mrustc_rust=1.29.0 # Depends on mrustc
versions_llvm='7.1.0 10.0.1' # https://github.com/llvm/llvm-project/releases
versions_rustc='1.30.1 1.31.1 1.32.0 1.33.0 1.34.2 1.35.0 1.36.0 1.37.0 1.38.0 1.39.0 1.40.0 1.41.1 1.42.0 1.43.1 1.44.1 1.45.2 1.46.0 1.47.0' # https://github.com/rust-lang/rust/blob/master/RELEASES.md
versions_llvm='7.1.0 10.0.1 13.0.1 16.0.6' # https://github.com/llvm/llvm-project/releases
versions_rustc='1.30.1 1.31.1 1.32.0 1.33.0 1.34.2 1.35.0 1.36.0 1.37.0 1.38.0 1.39.0 1.40.0 1.41.1 1.42.0 1.43.1 1.44.1 1.45.2 1.46.0 1.47.0 1.48.0 1.49.0 1.50.0 1.51.0 1.52.1 1.53.0 1.54.0 1.55.0 1.56.1 1.57.0 1.58.1 1.59.0 1.60.0 1.61.0 1.62.1 1.63.0 1.64.0 1.65.0 1.66.1 1.67.1 1.68.2 1.69.0 1.70.0 1.71.1 1.72.1 1.73.0 1.74.1 1.75.0 1.76.0' # https://github.com/rust-lang/rust/blob/master/RELEASES.md
mkdir -p download
cd download
wget -c "https://www.openssl.org/source/old/1.1.1/openssl-$version_openssl.tar.gz"
wget -c "https://github.com/thepowersgang/mrustc/archive/v$version_mrustc/mrustc-$version_mrustc.tar.gz"
wget -c "https://static.rust-lang.org/dist/rustc-$version_mrustc_rust-src.tar.xz"
for version in $versions_llvm; do
wget -c "https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz"
case "$version" in
7.*|8.*)
tarball="llvm-$version.src" ;;
9.*|10.*)
tarball="llvm-project-$version" ;;
*)
tarball="llvm-project-$version.src" ;;
esac
wget -c "https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/$tarball.tar.xz"
done
for version in $versions_rustc; do

36
rust/download.sha256

@ -1,6 +1,9 @@
c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82cdf3 llvm-10.0.1.src.tar.xz
1bcc9b285074ded87b88faaedddb88e6b5d6c331dfcfb57d7f3393dd622b3764 llvm-7.1.0.src.tar.xz
381ded90498a04a667ab67a33c1bf7ff1269026bd45a6bde9bac8bf694929de6 mrustc-0.9.tar.gz
82ce06e7c2b6a688dd0aa8f0aaa20f44850b1e692cf6c59bf7eebdc28440abea llvm-project-10.0.1.tar.xz
326335a830f2e32d06d0a36393b5455d17dc73e0bd1211065227ee014f92cbf8 llvm-project-13.0.1.src.tar.xz
ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e llvm-project-16.0.6.src.tar.xz
866e4241eeaba95623da38136f7d985b132a0079c26df8b1eb9a25cfdb04bd98 mrustc-0.10.1.tar.gz
cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8 openssl-1.1.1w.tar.gz
3943da98fb478a336ede7404e42ff76ef6ba4fc2b82012cfccd6b9fc4bd2c191 rustc-1.29.0-src.tar.xz
76c824e26b6a554cd48f45993e42001816c2f515dd1b252e3c8315fe200155ae rustc-1.30.1-src.tar.xz
b38f6a1b5e12619f242e44ea494d177c72fd1f80160386b2e69b69446685fcfa rustc-1.31.1-src.tar.xz
@ -20,3 +23,32 @@ e0386295dd5f2c7842835a509e4c57989eec6c29f989a1c85478b0e06f9d38ea rustc-1.44.1-s
f8412adac2f5d974b2f06c5bd4be7361084d18a678d098bf05de5ccfa57b74a9 rustc-1.45.2-src.tar.xz
865dae1290a205f16ded8818c6a0254cc32862985fc250a602a70285b7d92b82 rustc-1.46.0-src.tar.xz
ec2c81d2d34890486094a6407589be96161e4e301c238332d32c6dbae4f38ea2 rustc-1.47.0-src.tar.xz
ff0a242392a1865d7b2d08eb5ca6c1b3fd0820741d4c13a51a4b2d5d2bb53908 rustc-1.48.0-src.tar.xz
ebe910edc824a0a037a10be443446a0511923ba8342fa3c331ec8a22481d5d15 rustc-1.49.0-src.tar.xz
f54adf9204ed3cb3998cdc1baa5645b346d8cf8f18205e3b15fcae194ba5457c rustc-1.50.0-src.tar.xz
92c68a91fca33cbafb83442cde722d010cc387dc1ee8a2680e2fb33a575821a1 rustc-1.51.0-src.tar.xz
521bbaebce262264e44acb164d327cba27acf6f08bd7de672d8d1e16e7ed959e rustc-1.52.1-src.tar.xz
e53a2df2c2c26f8929d551852eeae242b9a6167fba34481f92010b30def32dec rustc-1.53.0-src.tar.xz
a2934f85f76a35a3796c0fefd31e91f5b6dd8377cd8c3769c1c10e7ce7a495f4 rustc-1.54.0-src.tar.xz
aec85a7c1f40b7a40818a58ae13632f8a12cfaa4d3e2a10957d0e9d16dfdd556 rustc-1.55.0-src.tar.xz
61fdcc8bc2530ee18f91318347e09b7cc07e9ca04b1c627c135ecc8dcb8f2ac5 rustc-1.56.1-src.tar.xz
fad07ea1daf9c6195c32e6e9c43ece4565c5f2f1de3c3771574790d6abbc9704 rustc-1.57.0-src.tar.xz
2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz
375996ead731cab2203ec10a66a3c4568ab6997d7e5d3ae597658164fe27be3d rustc-1.59.0-src.tar.xz
a025876deccbcb3f288d8e02623ea321f94623f31305d3c5c6f17855bb9685db rustc-1.60.0-src.tar.xz
a63305a3ad734f170746b337a5e3d07ccaa7aa8f253dc52336b44c0a3b549d7b rustc-1.61.0-src.tar.xz
02066a93c2f6596cc046a897d5716c86e3607c1cd0f54db9a867ae8c8265072e rustc-1.62.1-src.tar.xz
8f44af6dc44cc4146634a4dd5e4cc5470b3052a2337019b870c0e025e8987e0c rustc-1.63.0-src.tar.xz
e8170d318fac9d2fc17d5c3e648e7068f56e8db8d233d864aeffbef7c6542eac rustc-1.64.0-src.tar.xz
2d6aa2ea3fedd55acbbd65f78349385f9daa9c14e25db7a8df5d015588eee1cf rustc-1.65.0-src.tar.xz
07ac4e6c93e0d8ecfaf3b86c4c78bbbde3f5be675f0334e7fb343cb4a0b81ebe rustc-1.66.1-src.tar.xz
77e0615011f887d9533d5374bf9c15c590c3caf32bbb035b392d1c2ae502a682 rustc-1.67.1-src.tar.xz
ce1a115f6aafa912b4622906a92b626354973afa9288e2c7750df4dcf3390fc0 rustc-1.68.2-src.tar.xz
e533c903820b0c2ba10491b70105149d2243348f3b5e26bd7b6bdd022c7dbe75 rustc-1.69.0-src.tar.xz
bb8e9c564566b2d3228d95de9063a9254182446a161353f1d843bfbaf5c34639 rustc-1.70.0-src.tar.xz
371af0fbe04051e20a74dbea6d4e4e548f10f15309c49cae2688afb882b6c7f1 rustc-1.71.1-src.tar.xz
aea58d962ff1c19521b9f587aad88285f0fd35b6b6738b031a7a15bb1b70a7c3 rustc-1.72.1-src.tar.xz
6eaf672dbea2e6596af8c999f5e6924b9af4bb8b02166bfe0b928e68aa75ae62 rustc-1.73.0-src.tar.xz
b98c09d968529212fb29eec7d6d3e9bdaa869810679b7fb86a1ca69469d75f5e rustc-1.74.1-src.tar.xz
4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340 rustc-1.75.0-src.tar.xz
805482b436442a6786d270cacbab8f00529e06141b27b7fb01909b97ce4f3464 rustc-1.76.0-src.tar.xz

10
rust/files/llvm-10.0.1-fix-includes.patch

@ -0,0 +1,10 @@
--- llvm-project-10.0.1.orig/llvm/include/llvm/Support/Signals.h
+++ llvm-project-10.0.1/llvm/include/llvm/Support/Signals.h
@@ -15,6 +15,7 @@
#define LLVM_SUPPORT_SIGNALS_H
#include <string>
+#include <cstdint>
namespace llvm {
class StringRef;

23
rust/install_gentoo.txt

@ -1,10 +1,17 @@
Install to /usr/lib/rust/<ver>
ver=<ver>
cp /usr/lib/rust/$ver/bin/{rustc,rustc-$ver}
ln -s /usr/lib/rust/$ver/bin/rustc-$ver /usr/bin/rustc-$ver
touch /etc/env.d/rust/provider-rust-$ver
emerge -1 app-eselect/eselect-rust
eselect rust set rust-$ver
emerge -O1 dev-lang/rust
sudo rsync -rvP build/install-rustc-$ver/ /opt/rust-bin-$ver
sudo emerge -1 app-eselect/eselect-rust
sudo ln -s /opt/rust-bin-$ver/bin/rustc /usr/bin/rustc-bin-$ver
sudo mkdir -p /etc/env.d/rust
sudo touch /etc/env.d/rust/provider-rust-bin-$ver
sudo eselect rust set rust-bin-$ver
sudo mkdir -p /var/db/pkg/dev-lang/rust-bin-$ver
echo 0 | sudo tee /var/db/pkg/dev-lang/rust-bin-$ver/SLOT > /dev/null
sudo emerge dev-lang/rust
(might need to set CC=clang and CXX=clang++ for initial build...)
sudo rm -rf /opt/rust-bin-$ver /usr/bin/rustc-bin-$ver
sudo rm -rf /etc/env.d/rust/provider-rust-bin-$ver
sudo rm -rf /var/db/pkg/dev-lang/rust-bin-$ver

16
rust/llvm_versions.txt

@ -1,16 +0,0 @@
Needed versions:
1.30: >=5 <=7
1.31: >=5
1.32: >=5
1.33: >=6
1.34: >=6
1.35: >=6
1.36: >=6
1.37: >=6
1.38: >=6
1.39: >=6
1.40: >=6
1.41: >=7
1.42: >=7
1.43: >=7
1.44: >=8 <=10

27
rust/patches/mrustc-0.9-gcc9.patch

@ -1,27 +0,0 @@
diff --git a/src/hir_typeck/expr_check.cpp b/src/hir_typeck/expr_check.cpp
index 7c9367e4..bdd5e4a7 100644
--- a/src/hir_typeck/expr_check.cpp
+++ b/src/hir_typeck/expr_check.cpp
@@ -887,12 +887,16 @@ namespace {
else
{
// 1. Look up the encoded trait
- const auto& trait = (
- node.m_trait_used == ::HIR::ExprNode_CallValue::TraitUsed::Fn ? m_resolve.m_crate.get_lang_item_path(node.span(), "fn")
- : node.m_trait_used == ::HIR::ExprNode_CallValue::TraitUsed::FnMut ? m_resolve.m_crate.get_lang_item_path(node.span(), "fn_mut")
- : node.m_trait_used == ::HIR::ExprNode_CallValue::TraitUsed::FnOnce ? m_resolve.m_crate.get_lang_item_path(node.span(), "fn_once")
- : throw ""
- );
+ const ::HIR::SimplePath* trait_p;
+ switch(node.m_trait_used)
+ {
+ case ::HIR::ExprNode_CallValue::TraitUsed::Fn: trait_p = &m_resolve.m_crate.get_lang_item_path(node.span(), "fn"); break;
+ case ::HIR::ExprNode_CallValue::TraitUsed::FnMut: trait_p = &m_resolve.m_crate.get_lang_item_path(node.span(), "fn_mut"); break;
+ case ::HIR::ExprNode_CallValue::TraitUsed::FnOnce: trait_p = &m_resolve.m_crate.get_lang_item_path(node.span(), "fn_once"); break;
+ default:
+ throw "";
+ }
+ const auto& trait = *trait_p;
::std::vector< ::HIR::TypeRef> tup_ents;
for(const auto& arg : node.m_args) {

19
rust/patches/rustc-1.19.0-new-openssl.patch

@ -1,19 +0,0 @@
--- src/vendor/openssl-sys/build.rs
+++ src/vendor/openssl-sys/build.rs
@@ -360,13 +360,9 @@
println!("cargo:version=101");
Version::Openssl101
} else {
- panic!("
-
-This crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, or LibreSSL
-2.5.0, 2.5.1, 2.5.2, 2.5.3, and 2.5.4, but a different version of OpenSSL was
-found. The build is now aborting due to this version mismatch.
-
-");
+ println!("cargo:rustc-cfg=ossl110");
+ println!("cargo:version=110");
+ Version::Openssl110
}
}
Loading…
Cancel
Save