-
Notifications
You must be signed in to change notification settings - Fork 48
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
expose OQS_PERMIT_UNSUPPORTED_ARCHITECTURE
, for example as cargo feature
#202
Comments
This allows to set the `OQS_PERMIT_UNSUPOPORTED_ARCHITECTURE` CMake option via an environment variable.
Due to open-quantum-safe/liboqs-rust#202 it is not yet possible to build the static Rosenpass version for `i686`. The CI actions which fail for this reason have been excluded for now. Further on, some the workflow names have been shortened for better overview.
Due to open-quantum-safe/liboqs-rust#202 it is not yet possible to build the static Rosenpass version for `i686`. The CI actions which fail for this reason have been excluded for now. Further on, some the workflow names have been shortened for better overview.
I'm not sure if it's not better to just wait for a fix for #190 to land upstream... |
I get the point, this is a bit about failure culture: does liboqs-rust assume that its use of CMake does not contain any errors, and that if there is an error the downstream lib user should have no grip on the matter, or does liboqs-rust enable the user on changing the behavior at the risk of allowing the user to compromise while doing so. I totally get why the second thing first thing sounds better, making a bullet-proof product that can't be used wrong is nice! However, there is a tradeoff re usability. This and adjacent decisions make it more (one might even say: unnecessarily) complicated to use Just for completeness, I made this to address open-quantum-safe/liboqs#1442, not to fix #190. |
Euh right, that's the issue I meant to reference |
…ke option via environment variable (open-quantum-safe#203) fix open-quantum-safe#202 This allows to set the `OQS_PERMIT_UNSUPOPORTED_ARCHITECTURE` CMake option via an environment variable.
I can't build my project for x86 with a musl libc due to open-quantum-safe/liboqs#1442 , and as I see there is no way to trigger the aforementioned CMake option using the rust wrapper, and due to #190 I can also not substitute the version of liboqs used externally 😞
The text was updated successfully, but these errors were encountered: