| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
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: ae6f2e6f-f900-40e5-896c-e39f925fe3d7 📥 CommitsReviewing files that changed from the base of the PR and between 50939de and 4925517. 📒 Files selected for processing (3)
📝 Walkthrough WalkthroughThe changes replace the deprecated Android RLIM_NLIMITS re-export and two VM fetch_update calls while preserving existing update and subclass-recursion behavior. ChangesDeprecation cleanup
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: youknowone, 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.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agentsVerify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. Inline comments: In `@crates/host_env/src/resource.rs`: - Around line 36-37: Update the Android-only RLIM_NLIMITS constant in resource.rs to use libc::c_int, matching libc::RLIM_NLIMITS and the type expected by crates/stdlib/src/resource.rs; leave its value and other platform definitions unchanged.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: 9f309701-c2aa-4bac-959c-2239e0587e44
📥 CommitsReviewing files that changed from the base of the PR and between 1205fd2 and 820fb4a.
📒 Files selected for processing (3)
Sorry, something went wrong.
fetch_update() in atomic namespace is in the deprecation stage.
Define a new const, RLIM_NLIMITS instead of libc::RLIM_NLIMITS in order to clean up the deprecated const and to prevent breaking API where the const is still used.
There was a problem hiding this comment.
tysm!
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you!
https://docs.rs/libc/latest/aarch64-linux-android/libc/constant.RLIM_NLIMITS.html
👎Deprecated since 0.2.64:
Not stable across OS versions
https://doc.rust-lang.org/std/sync/atomic/type.AtomicU64.html#method.fetch_update
👎Deprecating in 1.99.0:
renamed to try_update for consistency
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
This PR has two commits that replace the deprecated methods in libc with new APIs or define a new const value due to compatibility.
Summary by CodeRabbit