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;
4242
4343// This is the "magic number" expected at the beginning of a LLVM bytecode
4444// 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" ;
4646
4747// The version number this compiler will write to bytecode objects in rlibs
4848pub 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;
6464use std:: thread;
6565use libc:: { c_uint, c_void, c_char, size_t} ;
6666
67- pub const RELOC_MODEL_ARGS : [ ( & ' static str , llvm:: RelocMode ) ; 7 ] = [
67+ pub const RELOC_MODEL_ARGS : [ ( & str , llvm:: RelocMode ) ; 7 ] = [
6868 ( "pic" , llvm:: RelocMode :: PIC ) ,
6969 ( "static" , llvm:: RelocMode :: Static ) ,
7070 ( "default" , llvm:: RelocMode :: Default ) ,
@@ -81,7 +81,7 @@ pub const CODE_GEN_MODEL_ARGS: &[(&str, llvm::CodeModel)] = &[
8181 ( "large" , llvm:: CodeModel :: Large ) ,
8282] ;
8383
84- pub const TLS_MODEL_ARGS : [ ( & ' static str , llvm:: ThreadLocalMode ) ; 4 ] = [
84+ pub const TLS_MODEL_ARGS : [ ( & str , llvm:: ThreadLocalMode ) ; 4 ] = [
8585 ( "global-dynamic" , llvm:: ThreadLocalMode :: GeneralDynamic ) ,
8686 ( "local-dynamic" , llvm:: ThreadLocalMode :: LocalDynamic ) ,
8787 ( "initial-exec" , llvm:: ThreadLocalMode :: InitialExec ) ,
You can’t perform that action at this time.
0 commit comments