Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 8410bef

Browse files
author
None
committed
Fix type issue for compilation targeting windows
1 parent b33edb6 commit 8410bef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,9 @@ fn thread_main() {
10761076
.ctypes_prefix("libc")
10771077
// https://github.com/rust-lang/rust-bindgen/issues/550
10781078
.blocklist_type("max_align_t")
1079+
// Issue on aligned and packed struct. Related to:
1080+
// https://github.com/rust-lang/rust-bindgen/issues/1538
1081+
.opaque_type("__mingw_ldbl_type_t")
10791082
// these are never part of ffmpeg API
10801083
.blocklist_function("_.*")
10811084
// Rust doesn't support long double, and bindgen can't skip it

0 commit comments

Comments
 (0)