rustc_codegen_ssa: set static lifetime for object::write::Object
This commit is contained in:
parent
579e8bce7d
commit
11f180f421
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ fn search_for_metadata<'a>(
|
|||
.map_err(|e| format!("failed to read {} section in '{}': {}", section, path.display(), e))
|
||||
}
|
||||
|
||||
fn create_object_file(sess: &Session) -> Option<write::Object> {
|
||||
fn create_object_file(sess: &Session) -> Option<write::Object<'static>> {
|
||||
let endianness = match sess.target.options.endian {
|
||||
Endian::Little => Endianness::Little,
|
||||
Endian::Big => Endianness::Big,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue