From: Peter Bergin Date: Tue, 23 Aug 2022 08:56:36 +0000 (+0200) Subject: oeqa/sdk: extend rust test to also use a build script X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3049 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85a676da586f9b1085e62ef1325c9a58168390ae;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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() {}