mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
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:
parent
11b113541d
commit
72ff321f9c
@ -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
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user