diff options
| author | smrobtzz <148004237+smrobtzz@users.noreply.github.com> | 2025-05-05 00:21:14 -0400 |
|---|---|---|
| committer | Sam Roberts <sam@smrobtzz.dev> | 2025-05-05 12:34:09 -0400 |
| commit | 57941afb23ef59e956d2a5ef6604369543edf419 (patch) | |
| tree | a92cf97bdaeca824aaec9b01b472d2a374b44f5f /compiler/rustc_target/src | |
| parent | fa6d0d1ba263c02d1fd660c06f3918ea6e591ce7 (diff) | |
| download | rust-57941afb23ef59e956d2a5ef6604369543edf419.tar.gz rust-57941afb23ef59e956d2a5ef6604369543edf419.zip | |
Apply suggestions from code review
Co-authored-by: Jubilee <workingjubilee@gmail.com>
Diffstat (limited to 'compiler/rustc_target/src')
| -rw-r--r-- | compiler/rustc_target/src/spec/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs index a3f36e51f32..303be54a6d7 100644 --- a/compiler/rustc_target/src/spec/mod.rs +++ b/compiler/rustc_target/src/spec/mod.rs @@ -3568,6 +3568,11 @@ impl Target { "s390x" => (Architecture::S390x, None), "mips" | "mips32r6" => (Architecture::Mips, None), "mips64" | "mips64r6" => ( + // While there are currently no builtin targets + // using the N32 ABI, it is possible to specify + // it using a custom target specification. N32 + // is an ILP32 ABI like the Aarch64_Ilp32 + // and X86_64_X32 cases above and below this one. if self.options.llvm_abiname.as_ref() == "n32" { Architecture::Mips64_N32 } else { |
