diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2024-05-17 09:22:13 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2024-05-17 09:22:13 +1000 |
commit | 87e1906b5d6cca83ef0c19e2d245a810a833b8e2 (patch) | |
tree | 250526a6fc07747380a184b29d7d21d6d3c262d4 /scripts/generate_rust_target.rs | |
parent | 4a011cfe7452c2dc751f9e13ab6889f8860ac481 (diff) | |
parent | 9f4047a4c9ca865d69f0b3821ce688d86179c25f (diff) |
Merge branch 'loongarch-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git
# Conflicts:
# arch/loongarch/kernel/irq.c
Diffstat (limited to 'scripts/generate_rust_target.rs')
-rw-r--r-- | scripts/generate_rust_target.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/generate_rust_target.rs b/scripts/generate_rust_target.rs index 3fcbc3737b2e..d30f61251ab0 100644 --- a/scripts/generate_rust_target.rs +++ b/scripts/generate_rust_target.rs @@ -164,12 +164,7 @@ fn main() { ts.push("llvm-target", "x86_64-linux-gnu"); ts.push("target-pointer-width", "64"); } else if cfg.has("LOONGARCH") { - ts.push("arch", "loongarch64"); - ts.push("data-layout", "e-m:e-p:64:64-i64:64-i128:128-n64-S128"); - ts.push("features", "-f,-d"); - ts.push("llvm-target", "loongarch64-linux-gnusf"); - ts.push("llvm-abiname", "lp64s"); - ts.push("target-pointer-width", "64"); + panic!("loongarch uses the builtin rustc loongarch64-unknown-none-softfloat target"); } else { panic!("Unsupported architecture"); } |