Skip to content

Commit b421df4

Browse files
Remove rustversion crate
MSRV (Minimum Supported Rust Version) is now 1.66.0 * Remove conditional compilation flags that were valid only when versions older than 1.66 were used. Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
1 parent a6eb5fa commit b421df4

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

tss-esapi-sys/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ links = "tss2-esys"
1616
bindgen = { version = "0.63.0", optional = true }
1717
pkg-config = "0.3.18"
1818
target-lexicon = "0.12.0"
19-
rustversion = "1.0.14"
2019

2120
[features]
2221
generate-bindings = ["bindgen"]

tss-esapi-sys/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ fn main() {
5858
}
5959

6060
#[cfg(feature = "generate-bindings")]
61-
#[rustversion::attr(since(1.66), allow(clippy::uninlined_format_args))]
6261
pub fn generate_from_system(esapi_out: PathBuf) {
6362
pkg_config::Config::new()
6463
.atleast_version(MINIMUM_VERSION)

tss-esapi/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ picky-asn1-x509 = { version = "0.11.0", optional = true }
3232
cfg-if = "1.0.0"
3333
strum = { version = "0.25.0", optional = true }
3434
strum_macros = { version = "0.25.0", optional = true }
35-
rustversion = "1.0.14"
3635

3736
[dev-dependencies]
3837
env_logger = "0.9.0"
3938
sha2 = "0.10.1"
4039

4140
[build-dependencies]
4241
semver = "1.0.7"
43-
rustversion = "1.0.14"
4442

4543
[features]
4644
default = ["abstraction"]

tss-esapi/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33
use semver::{Version, VersionReq};
44

5-
#[rustversion::attr(since(1.66), allow(clippy::uninlined_format_args))]
65
fn main() {
76
let tss_version_string = std::env::var("DEP_TSS2_ESYS_VERSION")
87
.expect("Failed to parse ENV variable DEP_TSS2_ESYS_VERSION as string");

tss-esapi/src/tcti_ldr.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ impl TctiNameConf {
165165
}
166166
}
167167

168-
#[rustversion::attr(since(1.66), allow(clippy::uninlined_format_args))]
169168
impl TryFrom<TctiNameConf> for CString {
170169
type Error = Error;
171170

0 commit comments

Comments
 (0)