about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHenry Jiang <henry.jiang1@ibm.com>2024-12-03 12:44:35 -0500
committerHenry Jiang <henry.jiang1@ibm.com>2024-12-03 12:44:35 -0500
commit89b70b919656bc8d1b119dc1ce4f882e3da0d4fc (patch)
treec5745d6ec548d7d76ecd5538ee063f5473d1fd13
parent8575f8f91bbd7dca529d362afc8117db74661c3b (diff)
downloadrust-89b70b919656bc8d1b119dc1ce4f882e3da0d4fc.tar.gz
rust-89b70b919656bc8d1b119dc1ce4f882e3da0d4fc.zip
change aix default codemodel=large
-rw-r--r--compiler/rustc_target/src/spec/base/aix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/base/aix.rs b/compiler/rustc_target/src/spec/base/aix.rs
index 1869369b9e3..fe37d313294 100644
--- a/compiler/rustc_target/src/spec/base/aix.rs
+++ b/compiler/rustc_target/src/spec/base/aix.rs
@@ -4,7 +4,7 @@ use crate::spec::{Cc, CodeModel, LinkOutputKind, LinkerFlavor, TargetOptions, cr
 pub(crate) fn opts() -> TargetOptions {
     TargetOptions {
         abi: "vec-extabi".into(),
-        code_model: Some(CodeModel::Small),
+        code_model: Some(CodeModel::Large),
         cpu: "pwr7".into(),
         os: "aix".into(),
         vendor: "ibm".into(),