-
Notifications
You must be signed in to change notification settings - Fork 43
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
MUSL support #141
Labels
enhancement
New feature or request
Comments
Commenting out the FP exception functions and running our small
|
No, musl does not have any default preprocessor definitions for detection, so yes the easiest would just be to add a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be nice to be able to support building for and running on
x86_64-unknown-linux-musl
to use PhysX more easily across linux distributions.Did a quick test compile and ran into this linking error:
looks like the
fenv.h
that physx is using inphysx-sys/PhysX/physx/source/foundation/src/unix/PsUnixFPU.cpp
uses a couple of GCC-specific extensions to the POSIXfenv.h
that does not exist on MUSL:Should be able to disable those fp exception functions similar to how it is disabled on Emscripten, but requires further patching the PhysX code. Don't think MUSL has a global preprocessor define enabled (or does it?) but we could provide one when building for
x86_64-unknown-linux-musl
target inbuild.rs
cc @Jake-Shadle
The text was updated successfully, but these errors were encountered: