From 85a676da586f9b1085e62ef1325c9a58168390ae Mon Sep 17 00:00:00 2001 From: Peter Bergin Date: Tue, 23 Aug 2022 10:56:36 +0200 Subject: [PATCH] oeqa/sdk: extend rust test to also use a build script The test for rust in the SDK is extended with the simplest possible build script. This will make use of the host toolchain for building build.rs before building the rust package for target. Signed-off-by: Peter Bergin Signed-off-by: Richard Purdie --- meta/lib/oeqa/sdk/files/rust/hello/build.rs | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta/lib/oeqa/sdk/files/rust/hello/build.rs diff --git a/meta/lib/oeqa/sdk/files/rust/hello/build.rs b/meta/lib/oeqa/sdk/files/rust/hello/build.rs new file mode 100644 index 00000000000..b1a533d5dfa --- /dev/null +++ b/meta/lib/oeqa/sdk/files/rust/hello/build.rs @@ -0,0 +1,3 @@ +/* This is the simplest build script just to invoke host compiler + in the build process. */ +fn main() {} -- 2.47.3