Rollup merge of #112584 - loongarch-rs:remove-env, r=petrochenkov

loongarch64-none*: Remove environment component from llvm target

A warning is reported when the LLVM triple-implied ABI conflicts with the provided target-abi.

```
warning: triple-implied ABI conflicts with provided target-abi ‘lp64s', using target-abi
```

Specifically, the ABI hint comes from the environment component of the triple. When only the target-abi is provided and no environment, there is no conflict. This PR removes the environment component from the LLVM target name of the `loongarch64-unknown-none-softfloat` target.
This commit is contained in:
Matthias Krüger 2023-06-14 18:10:29 +02:00 committed by GitHub
commit 2759a7d2f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
pub fn target() -> Target {
Target {
llvm_target: "loongarch64-unknown-none-softfloat".into(),
llvm_target: "loongarch64-unknown-none".into(),
pointer_width: 64,
data_layout: "e-m:e-p:64:64-i64:64-i128:128-n64-S128".into(),
arch: "loongarch64".into(),