#! /usr/bin/env python3
# This script generates sys.rs, which is checked in.
= . /
= /
= /
# Make sure that the two headers are identical, since we're using the same
# generated file in both modes.
assert ==
# The align tests run into several failures:
# - max_align_t always seems to fail
# https://github.com/rust-lang-nursery/rust-bindgen/issues/550.
# - *_state (but not *_param) has a different size on 32-bit platforms.
# - Alignment is different on Windows.
# https://github.com/rust-lang-nursery/rust-bindgen/issues/1009#issuecomment-342041560
# We can solve the first two with blacklisting and dynamically generating the
# bindings, but not the third one. The only solution I know of right now is to
# disable tests :(
=