Skip to content

Commit f64f11d

Browse files
nyurikweihanglo
andauthored
Update src/doc/src/reference/build-script-examples.md
Co-authored-by: Weihang Lo <[email protected]>
1 parent 3654e61 commit f64f11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/build-script-examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ script looks something [like
440440
this](https://github.com/sfackler/rust-openssl/blob/dc72a8e2c429e46c275e528b61a733a66e7877fc/openssl-sys/build/main.rs#L216):
441441

442442
```rust,ignore
443-
println!("cargo:version_number={openssl_version:x}");
443+
println!("cargo::metadata=version_number={openssl_version:x}");
444444
```
445445

446446
This instruction causes the `DEP_OPENSSL_VERSION_NUMBER` environment variable

0 commit comments

Comments
 (0)