File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 0.5.1] - 2020-12-10
8
+ ### Fixed
9
+ - Fixed a bug with ARM targets selecting the wrong bindings.
10
+
7
11
## [ 0.5.0] - 2020-12-28
8
12
### Added
9
13
- Added pre-generated bindings for ` i686-unknown-linux ` targets.
@@ -21,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
25
### Fixed
22
26
- Fixed ` build.rs ` script to handle cross compilation.
23
27
24
- [ Unreleased ] : https://github.com/newAM/libftd2xx-ffi-rs/compare/0.5.0...HEAD
28
+ [ Unreleased ] : https://github.com/newAM/libftd2xx-ffi-rs/compare/0.5.1...HEAD
29
+ [ 0.5.0 ] : https://github.com/newAM/libftd2xx-ffi-rs/compare/0.5.1...0.5.0
25
30
[ 0.5.0 ] : https://github.com/newAM/libftd2xx-ffi-rs/compare/0.5.0...0.4.1
26
31
[ 0.4.1 ] : https://github.com/newAM/libftd2xx-ffi-rs/compare/0.4.0...0.4.1
Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ cfg_if::cfg_if! {
102
102
include!( "bindings_windows_x64.rs" ) ;
103
103
} else if #[ cfg( all( target_os = "windows" , target_arch = "x86" ) ) ] {
104
104
include!( "bindings_windows_x86.rs" ) ;
105
- } else if #[ cfg( any ( target_os = "linux" , target_arch = "arm" ) ) ] {
105
+ } else if #[ cfg( all ( target_os = "linux" , target_arch = "arm" ) ) ] {
106
106
include!( "bindings_linux_armv6.rs" ) ;
107
- } else if #[ cfg( any ( target_os = "linux" , target_arch = "aarch64" ) ) ] {
107
+ } else if #[ cfg( all ( target_os = "linux" , target_arch = "aarch64" ) ) ] {
108
108
include!( "bindings_linux_armv8.rs" ) ;
109
109
} else {
110
110
std:: compile_error!( "pre-generated bindings are not avaliable for your target" ) ;
You can’t perform that action at this time.
0 commit comments