codegen_llvm_back: remove 'static from consts

This commit is contained in:
ljedrz 2018-10-06 11:50:34 +02:00
parent 0195d9b95f
commit ed5802c4d1
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ use flate2::write::DeflateEncoder;
// This is the "magic number" expected at the beginning of a LLVM bytecode
// object in an rlib.
pub const RLIB_BYTECODE_OBJECT_MAGIC: &'static [u8] = b"RUST_OBJECT";
pub const RLIB_BYTECODE_OBJECT_MAGIC: &[u8] = b"RUST_OBJECT";
// The version number this compiler will write to bytecode objects in rlibs
pub const RLIB_BYTECODE_OBJECT_VERSION: u8 = 2;