Skip to content

Update for recent Rust/Cargo toolchain changes - #411

Merged
Taowyoo merged 4 commits into
masterfrom
yx/update-mbedtls-build-for-latest-nightly
Aug 10, 2026
Merged

Taowyoo merged 4 commits into
masterfrom
yx/update-mbedtls-build-for-latest-nightly

Conversation

@Taowyoo

@Taowyoo Taowyoo commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Update the crate for recent Rust/Cargo toolchains changes:

  • Support Cargo’s build directory layout v2, which changes OUT_DIR layout from build/mbedtls-<hash>/out to build/mbedtls/<hash>/out.
  • Replace deprecated c_int::max_value() calls with c_int::MAX.

Changes

  • Update mbedtls/build.rs to use a dedicated OUT_DIR parser for getting <hash> part.
  • Add unit tests.
  • Bump mbedtls crate version to 0.13.6.
  • Update deprecated max_value() by MAX constant.

References

@Taowyoo Taowyoo changed the title Support Cargo build directory layout v2 Fixes for nightly changes Aug 7, 2026
@Taowyoo Taowyoo changed the title Fixes for nightly changes Update for recent Rust/Cargo toolchain changes Aug 7, 2026
@Taowyoo
Taowyoo merged commit 6b6b6a2 into master Aug 10, 2026
10 checks passed
@Taowyoo
Taowyoo deleted the yx/update-mbedtls-build-for-latest-nightly branch August 10, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants