From d8f4c6e32e4c1332a7d4e80ea149f774d99a4e84 Mon Sep 17 00:00:00 2001 From: robot-piglet Date: Thu, 25 Jun 2026 14:05:22 +0300 Subject: Intermediate changes commit_hash:d38d6857dfd895adce046f7c7af96832127cfb70 --- contrib/python/cryptography/next/rust/.yandex_meta/build.ym | 5 +++-- contrib/python/cryptography/ya.make | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'contrib/python') diff --git a/contrib/python/cryptography/next/rust/.yandex_meta/build.ym b/contrib/python/cryptography/next/rust/.yandex_meta/build.ym index 9c2d6fb7877..358444de78b 100644 --- a/contrib/python/cryptography/next/rust/.yandex_meta/build.ym +++ b/contrib/python/cryptography/next/rust/.yandex_meta/build.ym @@ -24,7 +24,6 @@ _rust _openssl {% endblock %} -{% block rust_version %}nightly-2026-06-04{% endblock %} {% block current_version %}41.0.6{% endblock %} {% block current_url %}https://github.com/pyca/cryptography/archive/refs/tags/{{self.version().strip()}}.tar.gz{% endblock %} @@ -49,7 +48,9 @@ cd src/rust {% for p in self.msan_platforms().strip().split('\n') %} export CC_{{p.replace('-', '_')}}=target-cc-msan {% endfor %} -export RUSTFLAGS="-Zsanitizer=memory -Zsanitizer-memory-track-origins=2 -Ctarget-feature=-crt-static -Cunsafe-allow-abi-mismatch=sanitizer -Ccodegen-units=1" +export RUSTFLAGS="-Zsanitizer=memory -Zsanitizer-memory-track-origins=2 -Ctarget-feature=-crt-static" + +export RUSTC_BOOTSTRAP=1 {% for arch in self.msan_platforms().strip().split('\n') %} LD_PRELOAD=${BIN}/getrandom.so cargo {{self.cargo_flags().strip()}} build {{self.cargo_build_flags().strip()}} --release --target {{arch}} {{self.binary_type().strip()}} --target-dir ${BUILD}-msan \ diff --git a/contrib/python/cryptography/ya.make b/contrib/python/cryptography/ya.make index d66445e0f16..f4929a01e6a 100644 --- a/contrib/python/cryptography/ya.make +++ b/contrib/python/cryptography/ya.make @@ -7,7 +7,7 @@ VERSION(Service-proxy-version) IF (PYTHON2) PEERDIR(contrib/python/cryptography/py2) ELSE() - IF (ARCH_X86_64 AND OS_LINUX) + IF (ARCH_X86_64 AND OS_LINUX OR ARCH_X86_64 AND OS_DARWIN) PEERDIR(contrib/python/cryptography/next) ELSE() PEERDIR(contrib/python/cryptography/py3) -- cgit v1.3