From 72ff321f9ca92c9ad54d006ee78751e2a3739535 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 16 Jun 2017 07:09:40 -0400 Subject: [PATCH] rustc: re-enable static_in_const We saw this error when building main.rs:error: this needs a 'static lifetime or the static_in_const feature, see #35897 --- pkgs/development/compilers/rust/rustc.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index a8ba933b52f2..4e0d0971cb66 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -93,11 +93,6 @@ stdenv.mkDerivation { rm src/test/debuginfo/vec-slices.rs rm src/test/debuginfo/vec.rs - # this can probably be removed when rust is updated beyond 1.17 - # fixes a warning in the test harness (I think?) which fails the build due - # to strict warnings - sed -i '/static_in_const/d' src/tools/compiletest/src/main.rs - # Useful debugging parameter # export VERBOSE=1 ''