secp-sys: remove now-unneeded endianness check from build.rs

This commit is contained in:
Andrew Poelstra 2020-12-29 17:04:42 +00:00
parent e687622a81
commit 58f946fcc8
1 changed files with 0 additions and 6 deletions

View File

@ -51,12 +51,6 @@ fn main() {
#[cfg(feature = "recovery")]
base_config.define("ENABLE_MODULE_RECOVERY", Some("1"));
if let Ok(target_endian) = env::var("CARGO_CFG_TARGET_ENDIAN") {
if target_endian == "big" {
base_config.define("WORDS_BIGENDIAN", Some("1"));
}
}
match &env::var("TARGET").unwrap() as &str {
"wasm32-unknown-unknown"|"wasm32-wasi" =>
{ base_config.include("wasm-sysroot"); },