-
Notifications
You must be signed in to change notification settings - Fork 739
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
Need switch to not use eventfd on target_os = "linux"
#1682
Comments
Oh yeah, |
Is it a documented issue that |
@notgull at least for gramine: |
As discussed on Discord, I'm not really a fan of creating a matrix of supported features on top of the matrix of support OSs, it's a burden on maintenance. However similar things, in the sense of supporting/using a different implementation on an OS that supports a "better" one, has come up before, e.g. #1602. Perhaps we can introduce |
For an SGX enclave (using gramine), I can't use the eventfd mechanism. Would be nice, if I could fallback to the pipe mechanism.
Currently I am using haraldh@5852388
But an additional feature might be too much maintenance burden.
Would this help?
RUSTFLAGS='--cfg no_eventfd'
... so we can do#[cfg(all(not(no_eventfd), any(target_os = "linux", target_os = "android")))]
The text was updated successfully, but these errors were encountered: