summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk
diff options
context:
space:
mode:
authorPeter Bergin <peter@berginkonsult.se>2022-08-23 10:56:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-03 08:51:57 +0100
commit7ef1feefa4fcc68572d40442807cbdad396015d6 (patch)
tree562ab76d00cf9527055edc90147810c331f79135 /meta/lib/oeqa/sdk
parent403beadca3bb4f47b776bc1449a43dc67e487528 (diff)
downloadpoky-7ef1feefa4fcc68572d40442807cbdad396015d6.tar.gz
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. (From OE-Core rev: 85a676da586f9b1085e62ef1325c9a58168390ae) Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk')
-rw-r--r--meta/lib/oeqa/sdk/files/rust/hello/build.rs3
1 files changed, 3 insertions, 0 deletions
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 0000000000..b1a533d5df
--- /dev/null
+++ b/meta/lib/oeqa/sdk/files/rust/hello/build.rs
@@ -0,0 +1,3 @@
1/* This is the simplest build script just to invoke host compiler
2 in the build process. */
3fn main() {}