Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NetBSD. #20

Merged
merged 3 commits into from
Nov 20, 2022
Merged

Support NetBSD. #20

merged 3 commits into from
Nov 20, 2022

Conversation

snimmagadda
Copy link
Contributor

sys-info gained NetBSD support via FillZpp/sys-info-rs#91. Add NetBSD to the target_os so that this crate works on NetBSD…

$ uname -a
NetBSD  9.99.106 NetBSD 9.99.106 (GENERIC) #0: Thu Nov 17 17:40:09 IST 2022  skn@:/home/skn/obj/sys/arch/amd64/compile/GENERIC amd64

$ cargo run
   Compiling effective-limits v0.5.4 (/home/skn/effective-limits.rs)
    Finished dev [unoptimized + debuginfo] target(s) in 1.05s
     Running `target/debug/test-limited`
Error: SysInfo

$ git stash pop
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   Cargo.toml
        modified:   src/lib.rs

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (89bb3044e12cd68460ab30081d26f2cd9b4e87ca)

$ cargo run
   Compiling effective-limits v0.5.4 (/home/skn/effective-limits.rs)
    Finished dev [unoptimized + debuginfo] target(s) in 1.05s
     Running `target/debug/test-limited`
4037632

@rbtcollins
Copy link
Owner

I think this is good and we're actually seeing CI noise.

@rbtcollins rbtcollins merged commit 88b4e85 into rbtcollins:master Nov 20, 2022
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.

2 participants