Skip to content

Commit f0a05ba

Browse files
committed
Update rust-version comment to be more descriptive
1 parent 1521a07 commit f0a05ba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
[package]
22
name = "recert"
3-
# we need to compile with a rust version that is compatible with rhel9
3+
# The rust-version field is an optional key that tells cargo what version of the Rust toolchain you support for your package (https://doc.rust-lang.org/cargo/reference/rust-version.html)
4+
# This is important for a few reasons:
5+
# 1. It affects the output of cargo lockfiles
6+
# - https://github.com/rust-lang/cargo/pull/12861
7+
# - https://github.com/rust-lang/cargo/issues/13503
8+
# 2. It affects what runtime version the compiled code is compatible with
9+
# This version should match what is available and used in the production runtime container (.konflux/Dockerfile)
410
rust-version = "1.75"
511
version = "0.1.0"
612
edition = "2021"

0 commit comments

Comments
 (0)