]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_target/src/spec/android_base.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / android_base.rs
index dc14d260e925e5ba9065e9df7ff7c427ab87cc9a..c2b9d696776f5b59e7deef2ef6fb96fca7381b25 100644 (file)
@@ -2,7 +2,7 @@ use crate::spec::TargetOptions;
 
 pub fn opts() -> TargetOptions {
     let mut base = super::linux_base::opts();
-    base.os = "android".to_string();
+    base.os = "android".into();
     base.dwarf_version = Some(2);
     base.position_independent_executables = true;
     base.has_thread_local = false;