diff --git a/examples/acipher-rs/ta/build.rs b/examples/acipher-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/acipher-rs/ta/build.rs +++ b/examples/acipher-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/aes-rs/ta/build.rs b/examples/aes-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/aes-rs/ta/build.rs +++ b/examples/aes-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/authentication-rs/ta/build.rs b/examples/authentication-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/authentication-rs/ta/build.rs +++ b/examples/authentication-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/big_int-rs/ta/build.rs b/examples/big_int-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/big_int-rs/ta/build.rs +++ b/examples/big_int-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/diffie_hellman-rs/ta/build.rs b/examples/diffie_hellman-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/diffie_hellman-rs/ta/build.rs +++ b/examples/diffie_hellman-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/digest-rs/ta/build.rs b/examples/digest-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/digest-rs/ta/build.rs +++ b/examples/digest-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/hello_world-rs/ta/build.rs b/examples/hello_world-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/hello_world-rs/ta/build.rs +++ b/examples/hello_world-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/hotp-rs/ta/build.rs b/examples/hotp-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/hotp-rs/ta/build.rs +++ b/examples/hotp-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/random-rs/ta/build.rs b/examples/random-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/random-rs/ta/build.rs +++ b/examples/random-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/secure_storage-rs/ta/build.rs b/examples/secure_storage-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/secure_storage-rs/ta/build.rs +++ b/examples/secure_storage-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/signature_verification-rs/ta/build.rs b/examples/signature_verification-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/signature_verification-rs/ta/build.rs +++ b/examples/signature_verification-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/supp_plugin-rs/ta/build.rs b/examples/supp_plugin-rs/ta/build.rs index 826b5095..306c0b5f 100644 --- a/examples/supp_plugin-rs/ta/build.rs +++ b/examples/supp_plugin-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?; diff --git a/examples/time-rs/ta/build.rs b/examples/time-rs/ta/build.rs index 2e40c4a9..21437141 100644 --- a/examples/time-rs/ta/build.rs +++ b/examples/time-rs/ta/build.rs @@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> { match env::var("ARCH") { Ok(ref v) if v == "arm" => { + println!("cargo:rustc-link-arg=--no-warn-mismatch"); for line in f.lines() { let l = line?;