From 5442bbfe62be24f768e6dfca753aa449e5bb39c9 Mon Sep 17 00:00:00 2001 From: Forest Anderson Date: Sun, 7 Jul 2019 03:24:22 +0000 Subject: [PATCH] Force CI to block on rustc warnings --- .gitlab-ci.yml | 4 ++-- voxygen/Cargo.toml | 2 -- voxygen/src/main.rs | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 809a8587dc..1a75e5ea40 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,7 +48,7 @@ build-voxygen: tags: - veloren-docker script: - - (cd voxygen && cargo build) + - (cd voxygen && cargo rustc -v -- -D warnings) build-server-cli: stage: build @@ -56,7 +56,7 @@ build-server-cli: tags: - veloren-docker script: - - (cd server-cli && cargo build) + - (cd server-cli && cargo rustc -v -- -D warnings) ############# # TEST diff --git a/voxygen/Cargo.toml b/voxygen/Cargo.toml index d47ec82782..e7a12b5689 100644 --- a/voxygen/Cargo.toml +++ b/voxygen/Cargo.toml @@ -1,5 +1,3 @@ -cargo-features = ["default-run"] - [package] name = "veloren-voxygen" version = "0.2.0" diff --git a/voxygen/src/main.rs b/voxygen/src/main.rs index 431a80c70f..185dc7d2cd 100644 --- a/voxygen/src/main.rs +++ b/voxygen/src/main.rs @@ -1,5 +1,4 @@ #![feature(drain_filter)] -#![feature(type_alias_enum_variants)] #![recursion_limit = "2048"] #[macro_use]