summaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2026-06-25 14:05:22 +0300
committerrobot-piglet <[email protected]>2026-06-25 14:40:40 +0300
commitd8f4c6e32e4c1332a7d4e80ea149f774d99a4e84 (patch)
tree5f69b5d69d30669b604ccafe72c9c02be77b2d90 /contrib/python
parent1aa4f5c867aa05abd2eb06758ba4bbb5107e46dd (diff)
Intermediate changes
commit_hash:d38d6857dfd895adce046f7c7af96832127cfb70
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/cryptography/next/rust/.yandex_meta/build.ym5
-rw-r--r--contrib/python/cryptography/ya.make2
2 files changed, 4 insertions, 3 deletions
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)