Skip to content

Conversation

@fasuizu-br
Copy link

Summary

force_shutdown() in src/macos.rs returned not_implemented!(), making it unusable. Implemented using shutdown -h now, consistent with the Linux fallback approach.

Closes #23

Test plan

  • cargo check --target aarch64-apple-darwin passes
  • Manual verification on macOS (requires root)

Replace not_implemented!() with a working implementation using
`shutdown -h now`, consistent with the Linux fallback approach.

Closes risoflora#23
@AdrianEddy AdrianEddy merged commit 5ddc9b0 into risoflora:main Jan 29, 2026
4 checks passed
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.

Bug: force_shutdown() on macOS returns not_implemented!()

2 participants