From 4288f9df22ec71ebc4dca531e9ebb0e9d35c50ac Mon Sep 17 00:00:00 2001 From: BetMul <1148347151@qq.com> Date: Sat, 14 Oct 2023 16:41:10 +0800 Subject: [PATCH] fix the argument of PrebuilRust function in Sconscript --- SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 0440a62..a52b433 100644 --- a/SConscript +++ b/SConscript @@ -25,7 +25,7 @@ else: if GetDepend("RT_USING_SMP"): SeleceFeature("smp") - ret = PrebuildRust(cwd, rtconfig.CPU, Rtt_Root, Rtt_Root+"/../applications/") + ret = PrebuildRust(cwd, rtconfig.CPU, Rtt_Root, cwd+"/../../applications/") if ret == "OK": LINKFLAGS = " -L%s" % (cwd + "/rust_out/") LINKFLAGS += " -Wl,--whole-archive -lrust -Wl,--no-whole-archive"