| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Move direct libc MADV_*, MAP_*, PROT_*, EOVERFLOW references in stdlib::mmap to host_env::mmap re-exports. Replace libc::c_int with core::ffi::c_int.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 0dae6055-3399-478b-8971-e85bb5f70509 📥 CommitsReviewing files that changed from the base of the PR and between 3f9d80b and f97c1b4. 📒 Files selected for processing (2)
📝 Walkthrough WalkthroughThe host_env crate now re-exports platform-gated libc mmap/madvise constants. The stdlib mmap module is updated to source these constants and use core::ffi::c_int instead of libc::c_int across struct fields, method signatures, and constant references throughout the Unix and Windows mmap implementation. ChangesMmap Constant Re-export Migration
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: ShaharNaveh 🚥 Pre-merge checks | ✅ 5 ✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
Its only consumer is the cfg(windows) named-mapping overflow check in stdlib::mmap; the re-export was gated cfg(unix), so it was configured out on Windows and the reference failed to resolve. Assisted-by: Claude
| Back | FazBrowse Home | New Git URL |
part of #7932
Summary by CodeRabbit