aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-22 18:26:53 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-09-22 18:26:53 +0200
commit4932d2376cc03c64eb82972824be673cdc2e0741 (patch)
treed1690533683e8fe33be00e4b1eb32f9363f207b4 /CHANGELOG.md
parent7944af959ca0b48f0e8ea5c506e801e07a6b8124 (diff)
downloadnitrokey-sys-rs-4932d2376cc03c64eb82972824be673cdc2e0741.tar.gz
nitrokey-sys-rs-4932d2376cc03c64eb82972824be673cdc2e0741.tar.bz2
Do not include layout tests in generated bindings
We are generating the Rust bindings in src/ffi.rs using bindgen once for all platforms on an amd64 machine. These bindings previously included layout tests. But these tests fail on some 32-bit architecture. See this discussion for more information: https://lists.sr.ht/~ireas/nitrokey-rs-dev/%3C20200919182408.GA1513%40ireas.org%3E With this patch, we remove the layout tests from the generated bindings. Instead, we will add the option to re-generate the bindings, including the layout tests, during the build in the next patch.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index af7fb18..8efd48c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
- Derive `Debug` for all structs generated by `bindgen`.
- Implement `std::fmt::Display` instead of `std::string::ToString` for the
`Version` enum in `build.rs`.
+- Do not include layout tests in the generated bindings.
- Update to libnitrokey 3.6, causing all following changes.
- New constants:
- `NK_device_model_NK_LIBREM` (`NK_device_model` enum)