chore: fix compile warnings#4988
chore: fix compile warnings#4988NathanFlurry wants to merge 1 commit into05-05-fix_compile_wasm_vs_native_features_with_custom_cfg_to_prevent_dupe_featuresfrom
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Code ReviewOverviewThis PR fixes compile warnings across three packages by: (1) adding explicit engine/packages/depot-client/src/vfs.rs — Explicit unsafe blocksThe pattern change from: unsafe extern "C" fn io_close(...) -> c_int {
vfs_catch_unwind!(SQLITE_IOERR, { ... })
}to: unsafe extern "C" fn io_close(...) -> c_int {
vfs_catch_unwind!(SQLITE_IOERR, unsafe { ... })
}This is correct for Rust 2024 edition compliance, where the body of an The three standalone helper functions ( engine/packages/depot-client/tests/inline/fault/chaos.rs — Scenario name in failure context// Before:
"seed {seed:016x} checkpoint={checkpoint} {reason}; workload={:?}; replay={:?}"
// After:
"scenario={} seed {seed:016x} checkpoint={checkpoint} {reason}; workload={:?}; replay={:?}"Good addition. engine/packages/pegboard-runner/tests/support/ws_to_tunnel_task.rs — Dead code removalRemoves six helper functions ( Per CLAUDE.md, the deprecated rivetkit-rust/packages/rivetkit-core/tests/task.rs — Dead field removalDrops Summary
LGTM once it moves out of draft. |

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: