Skip to content
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

fix: Fix to be able to build with vendor feature #65

Merged
merged 5 commits into from
Sep 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Disable FP16
  • Loading branch information
MikuroXina committed Sep 21, 2023
commit 16e494bf0b0ea5439a98bc8fdc18465fbfdddf93
1 change: 1 addition & 0 deletions rich-sdl2-rust-sys/build.rs
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ fn main() {
builder = builder
.header("wrapper.h")
.clang_args(&includes)
.clang_args(["-D__AVX512VLFP16INTRIN_H", "-D__AVX512FP16INTRIN_H"])
.allowlist_function("SDL_.*")
.allowlist_type("SDL_.*")
.allowlist_var("SDL_.*")