-
Notifications
You must be signed in to change notification settings - Fork 198
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
build: fix osx build #1136
base: main
Are you sure you want to change the base?
build: fix osx build #1136
Conversation
Hi! Sorry for the late answer. [target.'cfg(not(target_feature = "sse4.2"))'.dependencies]
kawa = { version = "^0.6.6" } # kawa default is to use SSE
[target.'cfg(target_feature = "sse4.2")'.dependencies]
kawa = { version = "^0.6.6", default-features = false } # removing default, kawa will not use SSE Did this configuration really work on your mac os aarch64? |
Yes it works, why shouldn't it? |
I agree, but it seems your configuration says the opposite. The first option (with default) is used if sse4.2 is not available ( |
83483a4
to
8ffe7dc
Compare
Ok i understand why my test was false positive so. |
c79f4be
to
5f6a590
Compare
Hi,
i hade some trouble to build on mac os aarch64, needed some small fixes.
Moreover --no-default-feature wasn't working for full workspace build i replaced it for cfg() directive in cargo.toml to rely on sse4.2 feature presence