summaryrefslogtreecommitdiffstats
path: root/meta/lib
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:32 +0100
commit85a676da586f9b1085e62ef1325c9a58168390ae (patch)
tree9b23a505b5060c608ac734feb7ea6f3c05dd7c50 /meta/lib
parent1de29eb5ec091427560e1f0b6b16c91a3a994835 (diff)
downloadopenembedded-core-85a676da586f9b1085e62ef1325c9a58168390ae.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. Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 @@
+/* This is the simplest build script just to invoke host compiler
+ in the build process. */
+fn main() {}