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
This commit is contained in:
Graham Christensen 2017-06-16 07:09:40 -04:00
parent 11b113541d
commit 72ff321f9c
No known key found for this signature in database
GPG Key ID: 06121D366FE9435C

View File

@ -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
''