Skip to content

Commit 29127a1

Browse files
Be-ingahayzen-kdab
authored andcommitted
meta_project: specify and document Rust 1.74 MSRV
This isn't required for the libraries published to crates.io, so this isn't specified in the workspace Cargo.toml.
1 parent c7b875d commit 29127a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/meta_project/rust/main/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ version = "0.1.0"
88
authors = ["Andrew Hayzen <[email protected]>"]
99
edition = "2021"
1010
license = "MIT OR Apache-2.0"
11+
# Linking CXX-Qt crates as rlibs requires a compiler feature
12+
# that was stabilized in Rust 1.74,
13+
# combining +whole-archive and +bundle link modifiers: https://github.com/rust-lang/rust/pull/113301
14+
rust-version = "1.74"
1115

1216
[lib]
1317
crate-type = ["staticlib"]

0 commit comments

Comments
 (0)