codegen_llvm_back: remove 'static from consts
This commit is contained in:
parent
0195d9b95f
commit
ed5802c4d1
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue