From f64f11d518e15bcb6167d31aaaaf561f09dc36be Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Wed, 2 Oct 2024 23:59:40 -0400 Subject: [PATCH] Update src/doc/src/reference/build-script-examples.md Co-authored-by: Weihang Lo --- src/doc/src/reference/build-script-examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/reference/build-script-examples.md b/src/doc/src/reference/build-script-examples.md index 728f8cf113d..9b7464134ce 100644 --- a/src/doc/src/reference/build-script-examples.md +++ b/src/doc/src/reference/build-script-examples.md @@ -440,7 +440,7 @@ script looks something [like this](https://github.com/sfackler/rust-openssl/blob/dc72a8e2c429e46c275e528b61a733a66e7877fc/openssl-sys/build/main.rs#L216): ```rust,ignore -println!("cargo:version_number={openssl_version:x}"); +println!("cargo::metadata=version_number={openssl_version:x}"); ``` This instruction causes the `DEP_OPENSSL_VERSION_NUMBER` environment variable