From 1e88f41eb16bd5151f6fdad26fe2b3ed8c8f898e Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sat, 16 Nov 2024 05:31:59 -0600 Subject: [PATCH] Explicitly set the edition to 2015 This just suppresses a warning. Ideally this should go to 2021 but that requires quite a bit of refactoring, so hold off until the rest of the 0.2 cleanup is complete. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index ccacab37e07d4..e90df4bd98c56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ version = "0.2.164" authors = ["The Rust Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" +edition = "2015" repository = "https://github.com/rust-lang/libc" homepage = "https://github.com/rust-lang/libc" documentation = "https://docs.rs/libc/"