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

Move sysinfo dependency behind a feature flag #4737

Closed
kayagokalp opened this issue Jul 3, 2023 · 1 comment · Fixed by #4750
Closed

Move sysinfo dependency behind a feature flag #4737

kayagokalp opened this issue Jul 3, 2023 · 1 comment · Fixed by #4750
Assignees
Labels
bug Something isn't working code quality

Comments

@kayagokalp
Copy link
Member

Since sysinfo is only needed for benchmarks we should consider moving it behind a flag. Since it causes this annoying bug we are dealing with in fuel.nix: FuelLabs/fuel.nix#64.

@kayagokalp kayagokalp added bug Something isn't working code quality labels Jul 3, 2023
@kayagokalp kayagokalp self-assigned this Jul 3, 2023
@tritao
Copy link
Contributor

tritao commented Jul 3, 2023

I think it's only being used to track memory usage, if the issue is just on Mac then I think we could disable it for Mac builds.

kayagokalp added a commit that referenced this issue Jul 5, 2023
… non-macos builds (#4750)

## Description
closes #4737.

This PR makes `sysinfo` an optional dependency which is only enabled for
non-macos builds.
Co-authored-by: Sophie Dankel <47993817+sdankel@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code quality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants