Skip to content

Commit 58f946f

Browse files
committed
secp-sys: remove now-unneeded endianness check from build.rs
1 parent e687622 commit 58f946f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

secp256k1-sys/build.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ fn main() {
5151
#[cfg(feature = "recovery")]
5252
base_config.define("ENABLE_MODULE_RECOVERY", Some("1"));
5353

54-
if let Ok(target_endian) = env::var("CARGO_CFG_TARGET_ENDIAN") {
55-
if target_endian == "big" {
56-
base_config.define("WORDS_BIGENDIAN", Some("1"));
57-
}
58-
}
59-
6054
match &env::var("TARGET").unwrap() as &str {
6155
"wasm32-unknown-unknown"|"wasm32-wasi" =>
6256
{ base_config.include("wasm-sysroot"); },

0 commit comments

Comments
 (0)