summaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorYDBot <[email protected]>2026-06-18 06:03:04 +0000
committerYDBot <[email protected]>2026-06-18 06:03:04 +0000
commitcdb408e5b5a3096b809003eee24e9441dc5e1426 (patch)
treee3478cdc9488cb91f031bc7c07a790a6f043e910 /contrib/python
parenteec70a24e7f6a4624a4e39dbbe1b1cdf1d7b4bba (diff)
parent024437d8123acca8125d790539570881a9c4f216 (diff)
Merge pull request #43780 from ydb-platform/merge-rightlib-260618-0133
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/cryptography/next/rust/.yandex_meta/build.ym6
1 files changed, 3 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 f0f24087b30..9c2d6fb7877 100644
--- a/contrib/python/cryptography/next/rust/.yandex_meta/build.ym
+++ b/contrib/python/cryptography/next/rust/.yandex_meta/build.ym
@@ -24,6 +24,7 @@ _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 %}
@@ -48,11 +49,10 @@ 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 -C target-feature=-crt-static"
-export RUSTC_BOOTSTRAP=1
+export RUSTFLAGS="-Zsanitizer=memory -Zsanitizer-memory-track-origins=2 -Ctarget-feature=-crt-static -Cunsafe-allow-abi-mismatch=sanitizer -Ccodegen-units=1"
{% for arch in self.msan_platforms().strip().split('\n') %}
-cargo {{self.cargo_flags().strip()}} build {{self.cargo_build_flags().strip()}} --release --target {{arch}} {{self.binary_type().strip()}} --target-dir ${BUILD}-msan \
+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 \
{% if self.cargo_target() %}
--package {{self.cargo_target().strip()}}
{% endif %}