-
Notifications
You must be signed in to change notification settings - Fork 10
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
Allow setting cgroup path for integration testing purposes #64
Allow setting cgroup path for integration testing purposes #64
Conversation
…group_path_for_integration_testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Very cool that we are enabling more sharing for PHP folks.
Thanks for the review ! 🙇 |
# LTO is ignored if "lib" is added as crate type | ||
# cf. https://github.com/rust-lang/rust/issues/51009 | ||
crate-type = ["staticlib", "cdylib"] | ||
crate-type = ["lib", "staticlib", "cdylib"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder, this will break your LTO and bloat binary size.
What does this PR do?
Currently Cgroup path is rightfully hardcoded in the source, however this makes it impossible to perform end-to-end tests on stubbed values of the file, as
/proc/groups/self
file is not overridable on linux systemsMotivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.