aboutsummaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorJoe Wilm <jwilm@users.noreply.github.com>2018-12-10 09:53:56 -0800
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-12-10 17:53:56 +0000
commit217ad9ec285b4923de1790b0976c8c793039c994 (patch)
tree440e0d6d35f119246d2b113fd01b431f4f9c2c38 /build.rs
parent7ab0b448479c9705fa14003bda97040630710b7a (diff)
downloadalacritty-217ad9ec285b4923de1790b0976c8c793039c994.tar.gz
alacritty-217ad9ec285b4923de1790b0976c8c793039c994.zip
Upgrade to Rust 2018
This resolves a lot of NLL issues, however full NLL will be necessary to handle a couple of remaining issues.
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/build.rs b/build.rs
index 22799c95..4036dad2 100644
--- a/build.rs
+++ b/build.rs
@@ -12,15 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#[cfg(windows)]
-extern crate embed_resource;
+use embed_resource;
#[cfg(windows)]
-extern crate tempfile;
+use tempfile;
#[cfg(windows)]
-extern crate reqwest;
+use reqwest;
#[cfg(windows)]
-extern crate zip;
-
-extern crate gl_generator;
+use zip;
use gl_generator::{Api, Fallbacks, GlobalGenerator, Profile, Registry};