File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/librustc_codegen_llvm/back Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ use flate2::write::DeflateEncoder;
42
42
43
43
// This is the "magic number" expected at the beginning of a LLVM bytecode
44
44
// object in an rlib.
45
- pub const RLIB_BYTECODE_OBJECT_MAGIC : & ' static [ u8 ] = b"RUST_OBJECT" ;
45
+ pub const RLIB_BYTECODE_OBJECT_MAGIC : & [ u8 ] = b"RUST_OBJECT" ;
46
46
47
47
// The version number this compiler will write to bytecode objects in rlibs
48
48
pub const RLIB_BYTECODE_OBJECT_VERSION : u8 = 2 ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ use std::time::Instant;
64
64
use std:: thread;
65
65
use libc:: { c_uint, c_void, c_char, size_t} ;
66
66
67
- pub const RELOC_MODEL_ARGS : [ ( & ' static str , llvm:: RelocMode ) ; 7 ] = [
67
+ pub const RELOC_MODEL_ARGS : [ ( & str , llvm:: RelocMode ) ; 7 ] = [
68
68
( "pic" , llvm:: RelocMode :: PIC ) ,
69
69
( "static" , llvm:: RelocMode :: Static ) ,
70
70
( "default" , llvm:: RelocMode :: Default ) ,
@@ -81,7 +81,7 @@ pub const CODE_GEN_MODEL_ARGS: &[(&str, llvm::CodeModel)] = &[
81
81
( "large" , llvm:: CodeModel :: Large ) ,
82
82
] ;
83
83
84
- pub const TLS_MODEL_ARGS : [ ( & ' static str , llvm:: ThreadLocalMode ) ; 4 ] = [
84
+ pub const TLS_MODEL_ARGS : [ ( & str , llvm:: ThreadLocalMode ) ; 4 ] = [
85
85
( "global-dynamic" , llvm:: ThreadLocalMode :: GeneralDynamic ) ,
86
86
( "local-dynamic" , llvm:: ThreadLocalMode :: LocalDynamic ) ,
87
87
( "initial-exec" , llvm:: ThreadLocalMode :: InitialExec ) ,
You can’t perform that action at this time.
0 commit comments