Skip to content

Commit

Permalink
Explicitly set the edition to 2015
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
tgross35 committed Nov 17, 2024
1 parent d6cd3c6 commit e2dd171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.2.151"
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/"
Expand Down

0 comments on commit e2dd171

Please sign in to comment.