From 92969c8d42cbff8bfd86ab6e670d6f753fa2ed20 Mon Sep 17 00:00:00 2001 From: eupn Date: Tue, 14 Mar 2023 18:59:49 +0400 Subject: [PATCH] xous-rs: extend build script to pick arm assembly binary too --- xous-rs/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xous-rs/build.rs b/xous-rs/build.rs index 0e1ebcfd5..786cb5a59 100644 --- a/xous-rs/build.rs +++ b/xous-rs/build.rs @@ -8,7 +8,7 @@ fn main() { let target = env::var("TARGET").unwrap(); let name = env::var("CARGO_PKG_NAME").unwrap(); - if target.starts_with("riscv") { + if target.starts_with("riscv") || target.starts_with("arm") { fs::copy( format!("bin/{}.a", target), out_dir.join(format!("lib{}.a", name)),