summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk/files/rust/hello/src/main.rs
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-07-20 16:06:01 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-28 11:07:33 +0100
commit1e3e20e92e3c1d0fd97eaa9660cfb57808af8948 (patch)
tree8ccaf368209bc1287e5ec6ff7a988996d997708f /meta/lib/oeqa/sdk/files/rust/hello/src/main.rs
parent5bb7d810f039812e9c963309ef81c4e6dc1c9e66 (diff)
downloadpoky-1e3e20e92e3c1d0fd97eaa9660cfb57808af8948.tar.gz
oeqa/sdk: Add basic rust cargo test
Add a QA test to the SDK to test that a basic cargo build works. [RP: Tweaked to work for multilibs and updated to match toolchain changes] (From OE-Core rev: d0cfe587bc897e79ef01805cc9a42fbca28c883c) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk/files/rust/hello/src/main.rs')
-rw-r--r--meta/lib/oeqa/sdk/files/rust/hello/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdk/files/rust/hello/src/main.rs b/meta/lib/oeqa/sdk/files/rust/hello/src/main.rs
new file mode 100644
index 0000000000..a06c03f82a
--- /dev/null
+++ b/meta/lib/oeqa/sdk/files/rust/hello/src/main.rs
@@ -0,0 +1,3 @@
1fn main() {
2 println!("Hello, OpenEmbedded world!");
3}