-
Notifications
You must be signed in to change notification settings - Fork 137
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
Gate out test functions that use probe! on ppc64le and s390x #944
Conversation
These require `feature(asm_experimental_arch)` which only works on nightly compilers. See rust-lang/rust#93335 Also loosen version requirement on `probe`; on Fedora we have been building with `probe` 0.5.1 with no issue. Tested by doing a scratch build on Fedora's Koji build system: https://koji.fedoraproject.org/koji/taskinfo?taskID=123361398 Signed-off-by: Michel Lind <[email protected]>
6a74e1f
to
00dcfb9
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 change seems fine, thanks. Left two comments; please let me know what you think.
@@ -48,7 +48,7 @@ libbpf-rs = {path = ".", features = ["generate-test-files"]} | |||
log = "0.4.4" | |||
memmem = "0.1.1" | |||
plain = "0.2.3" | |||
probe = "0.3" | |||
probe = ">=0.3, <0.6" |
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.
Let's just bump to 0.5
then? Nobody is really testing any version ranges, so this is hard to test for correctness. It's also very atypical for Rust projects from what I understand.
@@ -9,7 +9,6 @@ use libbpf_rs::ObjectBuilder; | |||
use libbpf_rs::OpenObject; | |||
use libbpf_rs::ProgramMut; | |||
|
|||
|
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.
Would you mind reverting the spurious formatting change?
This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days. |
Closing pull request as it is stale. |
These require
feature(asm_experimental_arch)
which only works on nightly compilers.See rust-lang/rust#93335
Also loosen version requirement on
probe
; on Fedora we have been building withprobe
0.5.1 with no issue.Tested by doing a scratch build on Fedora's Koji build system:
https://koji.fedoraproject.org/koji/taskinfo?taskID=123361398