fix: make disable-hdri default to fix compile error
By making the disable-hdri feature a default, the `quantum_range()` function will be one which computes a value for `QuantumRange` based on a constant that rust-bindgen seemingly does not have any problem discovering. cargo test passes
This commit is contained in:
@ -18,5 +18,8 @@ bindgen = "0.68.1"
|
||||
pkg-config = "0.3"
|
||||
|
||||
[features]
|
||||
# Work-around for bindgen(?) not finding the QuantumRange definition ever since
|
||||
# MagickWand 7.1.1.17 (or .16) when this suddenly stopped working.
|
||||
default = ["disable-hdri"]
|
||||
# Workaround for bindgen bug when ImageMagick is compiled with disable-hdri
|
||||
disable-hdri = []
|
||||
|
||||
Reference in New Issue
Block a user