mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

Old syntax suggestion Fixes #13868. The build error in the issue will now include a suggestion: ``` Compiling zerocopy v0.8.0-alpha.9 error: the `cargo::` syntax for build script output instructions was added in Rust 1.77.0, but the minimum supported Rust version of `zerocopy v0.8.0-alpha.9` is 1.56.0. Consider using the old `cargo:` syntax in front of `rustc-check-cfg=`. See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs. ``` The suggestion is only included for reserved prefixes. A test has been added.