All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Replace bindgen dependency with manually maintained libffi bindings. This removes the need for installing clang, and reduces the amount of build-time Rust dependencies.
- Unset DESTDIR when building libffi.
- Windows support (GNU or MSVC toolchain).
- Updated Rust edition to 2018.
- Updated version of automatically-built C libffi to 3.3.
- No longer builds C libffi documentation (and thus we no longer depend on Texinfo.
- Updated version of
bindgen
build dependency to^0.51
from0.49
. (As a consequence, we now require rustc 1.32.0 or later.)
- Yanked previous version (0.6.4), because updating the
bindgen
dependency was not semver-compatible.
- Updated version of
bindgen
build dependency to^0.49
from0.31.3
. (As a consequence, we now require rustc 1.30.0 or later.)
- Windows support via MSYS or MinGW.
- Feature
system
probes for system libffi instead of downloading and bulding our own.
- Setting
doc(html_root_url)
for inter-crate docs linking. - Testing on Rust 1.20.0 now, as oldest supported version.
- Better message when bindgen fails.
- Upgraded to
bindgen
0.31.3.
- Calling
bindgen
withblacklist_type
rather thanhide_type
, as the latter is deprecated. (Thanks, fitzgen.)
lib64/
now in library search path.- Build instructions now mention C libffi and texinfo.
- Avoid some unnecessary C libffi rebuilds. (Thanks, ngkz.)
- Avoids link error on Arch Linux by building C libffi
--withpic
.
- Links against a self-build static C libffi rather than dynamic. (Thanks, ngkz.)
- No longer passing
--disable-docs
toconfigure
for C libffi.
- Hiding
max_align_t
struct instddef.h
from bindgen, because it was confusing it. - Upgraded bindgen (0.22). (Thanks, cholcombe973.)
- Bindgen now generates default impls. (Thanks, cholcombe973.)
- Upgraded bindgen (0.18).
- Builds C libffi from a Git submodule. (Thanks, murarth.)
- Builds dynamic C libffi.
- Fetching C libffi from a cached copy on my website, because fetching it from ftp is unreliable.
- Using
-lffi
instead of-llibffi
.
- Fetches and builds its own C libffi now.
- Updated
clang-sys
version.
- Crate name in instructions.
- Better error messages from
build.rs
. - Clarified dependencies in docs.
Split from libffi
crate.