Skip to content

Commit e2dd171

Browse files
committed
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. (apply <rust-lang#4058> to `main`) (cherry picked from commit 1e88f41)
1 parent d6cd3c6 commit e2dd171

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.2.151"
44
authors = ["The Rust Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
7+
edition = "2015"
78
repository = "https://github.com/rust-lang/libc"
89
homepage = "https://github.com/rust-lang/libc"
910
documentation = "https://docs.rs/libc/"

0 commit comments

Comments
 (0)