From 2420d4535436a2773004469b29a2af8434e8c4e6 Mon Sep 17 00:00:00 2001 From: Be Wilson Date: Wed, 29 Nov 2023 02:03:16 -0600 Subject: [PATCH] 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. --- examples/meta_project/rust/main/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/meta_project/rust/main/Cargo.toml b/examples/meta_project/rust/main/Cargo.toml index 674e023a6..5b12360e8 100644 --- a/examples/meta_project/rust/main/Cargo.toml +++ b/examples/meta_project/rust/main/Cargo.toml @@ -8,6 +8,10 @@ version = "0.1.0" authors = ["Andrew Hayzen "] edition = "2021" license = "MIT OR Apache-2.0" +# Linking CXX-Qt crates as rlibs requires a compiler feature +# that was stabilized in Rust 1.74, +# combining +whole-archive and +bundle link modifiers: https://github.com/rust-lang/rust/pull/113301 +rust-version = "1.74" [lib] crate-type = ["staticlib"]