]> git.lizzy.rs Git - rust.git/commitdiff
Transition build_helper to 2018 edition
authorHirokazu Hata <h.hata.ai.t@gmail.com>
Sun, 3 Feb 2019 16:05:45 +0000 (01:05 +0900)
committerHirokazu Hata <h.hata.ai.t@gmail.com>
Sun, 3 Feb 2019 16:05:45 +0000 (01:05 +0900)
src/build_helper/Cargo.toml
src/build_helper/lib.rs

index 01d704f816bbc8fc00813d2636f3fe44a847db35..04c7820b45665feb9fe465f3936d086dc5b907f7 100644 (file)
@@ -2,6 +2,7 @@
 name = "build_helper"
 version = "0.1.0"
 authors = ["The Rust Project Developers"]
+edition = "2018"
 
 [lib]
 name = "build_helper"
index c66c5c9249087ba6134efaca46c03ee0a81b13bc..93aa91768121c1f6935d4bb46f40e1073cfd6ead 100644 (file)
@@ -1,3 +1,5 @@
+#![deny(rust_2018_idioms)]
+
 use std::fs::File;
 use std::path::{Path, PathBuf};
 use std::process::{Command, Stdio};