diff options
Diffstat (limited to 'meta/lib/oeqa/sdk/files')
-rw-r--r-- | meta/lib/oeqa/sdk/files/rust/hello/Cargo.toml | 6 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/files/rust/hello/build.rs | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/files/rust/hello/src/main.rs | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdk/files/rust/hello/Cargo.toml b/meta/lib/oeqa/sdk/files/rust/hello/Cargo.toml new file mode 100644 index 0000000000..fe619478a6 --- /dev/null +++ b/meta/lib/oeqa/sdk/files/rust/hello/Cargo.toml | |||
@@ -0,0 +1,6 @@ | |||
1 | [package] | ||
2 | name = "hello" | ||
3 | version = "0.1.0" | ||
4 | edition = "2021" | ||
5 | |||
6 | [dependencies] | ||
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. */ | ||
3 | fn main() {} | ||
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 @@ | |||
1 | fn main() { | ||
2 | println!("Hello, OpenEmbedded world!"); | ||
3 | } | ||