Skip to content

Commit

Permalink
fix(bindings): print cargo commands to stdout (aws#4482)
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Apr 2, 2024
1 parent 38d769c commit 52d131c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/rust/s2n-tls-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn env<N: AsRef<str>>(name: N) -> String {

fn option_env<N: AsRef<str>>(name: N) -> Option<String> {
let name = name.as_ref();
eprintln!("cargo:rerun-if-env-changed={}", name);
println!("cargo:rerun-if-env-changed={}", name);
std::env::var(name).ok()
}

Expand Down Expand Up @@ -194,7 +194,7 @@ impl Default for Libcrypto {
if let Some(version) = version.strip_suffix("_INCLUDE") {
let version = version.to_string();

eprintln!("cargo:rerun-if-env-changed={}", name);
println!("cargo:rerun-if-env-changed={}", name);

let include = value;
let root = env(format!("DEP_AWS_LC_{version}_ROOT"));
Expand Down

0 comments on commit 52d131c

Please sign in to comment.