-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
doc: update eBPF/compilation instructions v3 #10614
doc: update eBPF/compilation instructions v3 #10614
Conversation
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.
Two minor-ish inline comments for the docs :P
Looking mostly ready, imho.
1) Install Rust https://www.rust-lang.org/en-US/install.html | ||
2) Install cbindgen - if the cbindgen is not found in the repository | ||
or the cbindgen version is lower than required, it can be | ||
alternatively installed as: cargo install --force cbindgen | ||
3) Make sure the cargo path is within your PATH environment | ||
e.g. echo 'export PATH=”${PATH}:~/.cargo/bin”' >> ~/.bashrc | ||
e.g. export PATH="${PATH}:~/.cargo/bin" |
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.
As we mostly try to keep command-line instructions in a separate line, I think here we could at least highlight them as inline code (as that's probably easier to achieve inside a list than have it in a separate line :P )
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.
That is not possible because this list is already in the code block.
I've therefore at least made it shorter:
echo 'export PATH+=”~/.cargo/bin”' >> ~/.bashrc' && export PATH+=”~/.cargo/bin”
Follow up in #10788 |
Follow-up of #10560
Link to Redmine tickets:
Describe changes:
v3
v2
v1