Skip to content

Comments

Make sys::resource work on Solaris#2742

Open
joshuaissac wants to merge 1 commit intonix-rust:masterfrom
joshuaissac:master
Open

Make sys::resource work on Solaris#2742
joshuaissac wants to merge 1 commit intonix-rust:masterfrom
joshuaissac:master

Conversation

@joshuaissac
Copy link

@joshuaissac joshuaissac commented Feb 14, 2026

What does this PR do

This change lets sys::resource build and work on Solaris. Tested on Solaris 11.4 (SPARC 64-bit) and Linux 6.8 (x86-64). Relevant test already exists in test/sys/test_resource.rs.

Tests run on Solaris (skipping unrelated failing tests):
RUST_BACKTRACE=1 cargo test --
--skip sys::socker::addr::tests::linl::solarish_tap
--skip sys::test_timer::alarm_fires

Tests run on Linux:
cargo test

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

* Solaris patch to enable sys/resource

* changelog
@joshuaissac joshuaissac changed the title Make nix sys::resource work on Solaris Make sys::resource work on Solaris Feb 15, 2026
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.

1 participant