-
Notifications
You must be signed in to change notification settings - Fork 55
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
Usage examples, doctests & cosmetic tweaks #23
Conversation
025a572
to
eb36313
Compare
/// let cl = Cmdline::new(100); | ||
/// let cl_cstring = CString::new(cl).unwrap(); | ||
/// assert_eq!(cl_cstring.to_str().unwrap(), ""); | ||
/// ``` |
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.
#[derive(Clone)]
is gone.
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.
It doesn't appear to be needed anywhere, anyway.
4fa3da3
to
9260b47
Compare
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.
This PR LGTM. Waiting for #26 to get merged will stop the discussions around struct_util
module.
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.
I only have one nit, this looks pretty good and is very useful. Thanks for the PR.
src/lib.rs
Outdated
//! This crates only supports x86_64 platforms because it implements support | ||
//! for kernel image formats (vmlinux and bzImage) that are x86 specific. | ||
//! Extending this crate to support other kernel image formats (e.g. ARM's Image) will make it | ||
//! consumable by other platforms. |
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.
I'd rather keep the documentation current and modify it as part of PR #16
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.
If anything we could add the PVH support to the list.
14813ea
to
1acf932
Compare
Signed-off-by: Alexandra Iordache <[email protected]>
#17