Skip to content

Fix Windows GNU EH crate for Rust 2024 unsafe rules#1676

Merged
oferchen merged 1 commit into
masterfrom
fix-ci-build-errors
Oct 30, 2025
Merged

Fix Windows GNU EH crate for Rust 2024 unsafe rules#1676
oferchen merged 1 commit into
masterfrom
fix-ci-build-errors

Conversation

@oferchen
Copy link
Copy Markdown
Owner

Summary

  • mark the kernel32 extern block as unsafe to match Rust 2024 requirements
  • wrap calls to unsafe Windows APIs and intrinsics in explicit unsafe blocks and propagate option results safely

Testing

  • cargo check -p rsync-windows-gnu-eh

https://chatgpt.com/codex/tasks/task_e_69035777fc548323b8e810342553db58

@oferchen oferchen merged commit d5d2e7f into master Oct 30, 2025
@oferchen oferchen deleted the fix-ci-build-errors branch October 30, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant