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 <[email protected]>
---
 meta/lib/oeqa/sdk/files/rust/hello/build.rs | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 meta/lib/oeqa/sdk/files/rust/hello/build.rs

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() {}
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169698): 
https://lists.openembedded.org/g/openembedded-core/message/169698
Mute This Topic: https://lists.openembedded.org/mt/93200332/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to