Build failing due to incorrect naming conventions
Created by: LeoTindall
Reproduction: Bootstrap and run make all
.
Expected behavior: A successful build.
Actual behavior: Build failed with
error: static variable `__errno` should have an upper case name such as `__ERRNO`
--> libstd/src/externs.rs:3:1
|
3 | pub static mut __errno: isize = 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> libstd/src/lib.rs:46:9
|
46| #![deny(warnings)]
| ^^^^^^^^
error: static variable `_args` should have an upper case name such as `_ARGS`
--> libstd/src/env.rs:20:1
|
20 | static mut _args: *mut Vec<&'static str> = 0 as *mut Vec<&'static str>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> libstd/src/lib.rs:46:9
|
46 | #![deny(warnings)]
| ^^^^^^^^
error: aborting due to 2 previous errors
Makefile:543: recipe for target 'build/i386-unknown-redox/debug/libstd.rlib' failed
If the above does not fit the nature of the issue feel free to modify it.