File tree 2 files changed +7
-2
lines changed 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ idea = []
40
40
# Enables compilation of SEED, a symmetric key block cypher mostly used in South Korea, but
41
41
# otherwise not widely supported.
42
42
seed = []
43
+ # Forces configuring Engine module support.
44
+ force-engine = []
43
45
44
46
[workspace ]
45
47
members = [' testcrate' ]
Original file line number Diff line number Diff line change @@ -196,9 +196,12 @@ impl Build {
196
196
}
197
197
198
198
if target. contains ( "musl" ) {
199
- // This actually fails to compile on musl (it needs linux/version.h
199
+ // Engine module fails to compile on musl (it needs linux/version.h
200
200
// right now) but we don't actually need this most of the time.
201
- configure. arg ( "no-engine" ) ;
201
+ // Disable engine module unless force-engine feature specified
202
+ if !cfg ! ( feature = "force-engine" ) {
203
+ configure. arg ( "no-engine" ) ;
204
+ }
202
205
} else if target. contains ( "windows" ) {
203
206
// We can build the engine feature, but the build doesn't seem
204
207
// to correctly pick up crypt32.lib functions such as
You can’t perform that action at this time.
0 commit comments