From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB0FCC4345F for ; Mon, 29 Apr 2024 07:43:36 +0000 (UTC) Subject: Re: [PATCH V3] rust-cross-canadian: Fix file conflicts for arm and aarch64 To: openembedded-core@lists.openembedded.org From: "Hemraj, Deepthi" X-Originating-Location: Bengaluru, Karnataka, IN (49.204.85.206) X-Originating-Platform: Windows Chrome 124 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 29 Apr 2024 00:43:35 -0700 References: In-Reply-To: Message-ID: <24153.1714376615480679773@lists.openembedded.org> Content-Type: multipart/alternative; boundary="dTxjhTx7f38UHPahcZMT" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Apr 2024 07:43:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/198733 --dTxjhTx7f38UHPahcZMT Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Randy, I copied the Rust compiler binaries generated for both armv7at2hf-neon-poky= mllib32-linux-gnueabi and cortexa57-poky-linux into a QEMU environment and = executed a simple "Hello, World!" program using these binaries. Below are t= he steps I followed: /ala-lpggp31/dhemraj/master/15061/poky/build/tmp/work/armv7at2hf-neon-pokym= llib32-linux-gnueabi/lib32-rust/1.74.1/image/usr/bin > scp -r rustc root@19= 2.168.7.6:/arm32/ rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0100% = =C2=A0 13KB =C2=A0 2.2MB/s =C2=A0 00:00 root@qemuarm64:/arm32# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm32# ./rustc hello.rs root@qemuarm64:/arm32# ./hello Hello, World! ---------------------------------------------------------------------------= --------------------------------------------- /ala-lpggp31/dhemraj/master/15061/poky/build/tmp/work/cortexa57-poky-linux/= rust/1.74.1/rustc-1.74.1-src/build/aarch64-poky-linux-gnu/stage2/bin > scp = =C2=A0rustc root@192.168.7.6:/arm64 rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 100% =C2=A0 74KB =C2=A0 4.6MB/s =C2=A0 00:00 root@qemuarm64:/arm64# ls rustc root@qemuarm64:/arm64# vi hello.rs root@qemuarm64:/arm64# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm64# ./rustc hello.rs root@qemuarm64:/arm64# ./hello Hello, World! --dTxjhTx7f38UHPahcZMT Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Randy,

I copied the Rust compiler binaries generated for both= armv7at2hf-neon-pokymllib32-linux-gnueabi and cortexa57-poky-linux into a = QEMU environment and executed a simple "Hello, World!" program using these = binaries. Below are the steps I followed:
 
/ala-lpggp31/dhe= mraj/master/15061/poky/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnu= eabi/lib32-rust/1.74.1/image/usr/bin > scp -r rustc root@192.168.7.6:/ar= m32/
rustc                 &nb= sp;                     &= nbsp;100%   13KB   2.2MB/s   00:00

root@qemuarm64= :/arm32# cat hello.rs
fn main() {
    println!("Hello, = World!");
}

root@qemuarm64:/arm32# ./rustc hello.rs
ro= ot@qemuarm64:/arm32# ./hello
Hello, World!

----------------= ---------------------------------------------------------------------------= -----------------------------
 /ala-lpggp31/dhemraj/master/15061/= poky/build/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/build= /aarch64-poky-linux-gnu/stage2/bin > scp  rustc root@192.168.7.6:/a= rm64
rustc                 &nb= sp;                     &= nbsp;                    =                     &nbs= p;     100%   74KB   4.6MB/s   00:00

ro= ot@qemuarm64:/arm64# ls
rustc
root@qemuarm64:/arm64# vi hello.rs<= br />root@qemuarm64:/arm64# cat hello.rs
fn main() {
   = ; println!("Hello, World!");
}
root@qemuarm64:/arm64# ./rustc hel= lo.rs
root@qemuarm64:/arm64# ./hello
Hello, World! --dTxjhTx7f38UHPahcZMT-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8324C4345F for ; Mon, 29 Apr 2024 10:50:07 +0000 (UTC) Subject: Re: [PATCH V3] rust-cross-canadian: Fix file conflicts for arm and aarch64 To: openembedded-core@lists.openembedded.org From: "Hemraj, Deepthi" X-Originating-Location: Bengaluru, Karnataka, IN (49.204.85.206) X-Originating-Platform: Windows Chrome 124 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 29 Apr 2024 03:49:58 -0700 References: In-Reply-To: Message-ID: <24153.1714376615480679773@lists.openembedded.org> X-Old-Date: Mon, 29 Apr 2024 00:43:35 -0700 Content-Type: multipart/alternative; boundary="dTxjhTx7f38UHPahcZMT" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Apr 2024 10:50:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/198733 Message-ID: <20240429104958.p5-Bxfct4KXEVTOWjC2JDhilopXUBtBmVS68MFFnj10@z> --dTxjhTx7f38UHPahcZMT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Randy, I copied the Rust compiler binaries generated for both armv7at2hf-neon-poky= mllib32-linux-gnueabi and cortexa57-poky-linux into a QEMU environment and = executed a simple "Hello, World!" program using these binaries. Below are t= he steps I followed: ...poky/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-rust= /1.74.1/image/usr/bin > scp -r rustc root@192.168.7.6:/arm32/ rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0100% = =C2=A0 13KB =C2=A0 2.2MB/s =C2=A0 00:00 root@qemuarm64:/arm32# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm32# ./rustc hello.rs root@qemuarm64:/arm32# ./hello Hello, World! ---------------------------------------------------------------------------= --------------------------------------------- ...poky/build/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/bu= ild/aarch64-poky-linux-gnu/stage2/bin > scp =C2=A0rustc root@192.168.7.6:/a= rm64 rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 100% =C2=A0 74KB =C2=A0 4.6MB/s =C2=A0 00:00 root@qemuarm64:/arm64# ls rustc root@qemuarm64:/arm64# vi hello.rs root@qemuarm64:/arm64# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm64# ./rustc hello.rs root@qemuarm64:/arm64# ./hello Hello, World! --dTxjhTx7f38UHPahcZMT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Randy,

I copied the Rust compiler binaries generated for both= armv7at2hf-neon-pokymllib32-linux-gnueabi and cortexa57-poky-linux into a = QEMU environment and executed a simple "Hello, World!" program using these = binaries. Below are the steps I followed:
 
...poky/build/tm= p/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-rust/1.74.1/image/us= r/bin > scp -r rustc root@192.168.7.6:/arm32/
rustc     &= nbsp;                    =              100%   13KB   2.= 2MB/s   00:00

root@qemuarm64:/arm32# cat hello.rs
fn m= ain() {
    println!("Hello, World!");
}

roo= t@qemuarm64:/arm32# ./rustc hello.rs
root@qemuarm64:/arm32# ./helloHello, World!

-----------------------------------------------= -------------------------------------------------------------------------...poky/build/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-sr= c/build/aarch64-poky-linux-gnu/stage2/bin > scp  rustc root@192.168= .7.6:/arm64
rustc               &nb= sp;                     &= nbsp;                    =                     &nbs= p;       100%   74KB   4.6MB/s   00:00
<= br />root@qemuarm64:/arm64# ls
rustc
root@qemuarm64:/arm64# vi he= llo.rs
root@qemuarm64:/arm64# cat hello.rs
fn main() {
 = ;   println!("Hello, World!");
}
root@qemuarm64:/arm64# ./ru= stc hello.rs
root@qemuarm64:/arm64# ./hello
Hello, World! --dTxjhTx7f38UHPahcZMT-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A622AC04FFE for ; Mon, 29 Apr 2024 10:52:27 +0000 (UTC) Subject: Re: [PATCH V3] rust-cross-canadian: Fix file conflicts for arm and aarch64 To: openembedded-core@lists.openembedded.org From: "Hemraj, Deepthi" X-Originating-Location: Bengaluru, Karnataka, IN (49.204.85.206) X-Originating-Platform: Windows Chrome 124 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 29 Apr 2024 03:52:25 -0700 References: In-Reply-To: Message-ID: <24153.1714376615480679773@lists.openembedded.org> X-Old-Date: Mon, 29 Apr 2024 03:49:58 -0700 Content-Type: multipart/alternative; boundary="dTxjhTx7f38UHPahcZMT" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Apr 2024 10:52:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/198733 Message-ID: <20240429105225.iFEWksXtybpCPmMOvVsviSo0PMmXCv6ZtmtzMQyYEnY@z> --dTxjhTx7f38UHPahcZMT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Randy, I copied the Rust compiler binaries generated for both armv7at2hf-neon-poky= mllib32-linux-gnueabi and cortexa57-poky-linux into a QEMU environment and = executed a simple "Hello, World!" program using these binaries. Below are t= he steps I followed: ...poky/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-rust= /1.74.1/image/usr/bin > scp -r rustc root@192.168.7.6:/arm32/ rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0100% = =C2=A0 13KB =C2=A0 2.2MB/s =C2=A0 00:00 root@qemuarm64:/arm32# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm32# ./rustc hello.rs root@qemuarm64:/arm32# ./hello Hello, World! ---------------------------------------------------------------------------= --------------------------------------------- ...poky/build/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/bu= ild/aarch64-poky-linux-gnu/stage2/bin > scp =C2=A0rustc root@192.168.7.6:/a= rm64 rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 100% =C2=A0 74KB =C2=A0 4.6MB/s =C2=A0 00:00 root@qemuarm64:/arm64# ls rustc root@qemuarm64:/arm64# vi hello.rs root@qemuarm64:/arm64# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm64# ./rustc hello.rs root@qemuarm64:/arm64# ./hello Hello, World! --dTxjhTx7f38UHPahcZMT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Randy,

I copied the Rust compiler binaries generated for both= armv7at2hf-neon-pokymllib32-linux-gnueabi and cortexa57-poky-linux into a = QEMU environment and executed a simple "Hello, World!" program using these = binaries. Below are the steps I followed:
 
...poky/buil= d/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-rust/1.74.1/imag= e/usr/bin > scp -r rustc root@192.168.7.6:/arm32/
rustc &n= bsp;                     =                  100%   1= 3KB   2.2MB/s   00:00

root@qemuarm64:/arm32# = cat hello.rs
fn main() {
    println!= ("Hello, World!");
}

root@qemuarm64:/arm3= 2# ./rustc hello.rs
root@qemuarm64:/arm32# ./hello
= Hello, World!

-------------------------------------= ---------------------------------------------------------------------------= --------
...poky/build/tmp/work/cortexa57-poky-linux/rust/1.7= 4.1/rustc-1.74.1-src/build/aarch64-poky-linux-gnu/stage2/bin > scp  = ;rustc root@192.168.7.6:/arm64
rustc       &nb= sp;                     &= nbsp;                    =                     &nbs= p;               100%   74KB  = 4.6MB/s   00:00

root@qemuarm64:/arm64# lsrustc
root@qemuarm64:/arm64# vi hello.rs
root@qemuarm64:/arm64# cat hello.rs
fn main() {
    println!("Hello, World!");
}
ro= ot@qemuarm64:/arm64# ./rustc hello.rs
root@qemuarm64:/arm64# = ./hello
Hello, World! --dTxjhTx7f38UHPahcZMT-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A223DC4345F for ; Mon, 29 Apr 2024 11:04:07 +0000 (UTC) Subject: Re: [PATCH V3] rust-cross-canadian: Fix file conflicts for arm and aarch64 To: openembedded-core@lists.openembedded.org From: "Hemraj, Deepthi" X-Originating-Location: Bengaluru, Karnataka, IN (49.204.85.206) X-Originating-Platform: Windows Chrome 124 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 29 Apr 2024 04:04:04 -0700 References: In-Reply-To: Message-ID: <24153.1714376615480679773@lists.openembedded.org> X-Old-Date: Mon, 29 Apr 2024 03:52:25 -0700 Content-Type: multipart/alternative; boundary="dTxjhTx7f38UHPahcZMT" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Apr 2024 11:04:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/198733 Message-ID: <20240429110404.GAvP76kL7-7bMTWp0-qmIxjuCh0zpVD1IL3vo1WPCSw@z> --dTxjhTx7f38UHPahcZMT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Randy, I verified rust.sh and cargo.sh in the installed sdk those are generated di= fferently based on the multilib tuning. ...poky/build/tmp/deploy/sdk/install > fd rust.sh sysroots/x86_64-pokysdk-linux/environment-setup.d/rust.sh sysroots/x86_64-pokysdk-linux/environment-setup.d/lib32-rust.sh ...poky/build/tmp/deploy/sdk/install > fd cargo.sh sysroots/x86_64-pokysdk-linux/environment-setup.d/cargo.sh sysroots/x86_64-pokysdk-linux/environment-setup.d/lib32-cargo.sh I tested a sample program on 32 and 64 bit targets and its working. Below a= re the steps: I copied the Rust compiler binaries generated for both armv7at2hf-neon-poky= mllib32-linux-gnueabi and cortexa57-poky-linux into a QEMU environment and = executed a simple "Hello, World!" program using these binaries. ...poky/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-rust= /1.74.1/image/usr/bin > scp -r rustc root@192.168.7.6:/arm32/ rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0100% = =C2=A0 13KB =C2=A0 2.2MB/s =C2=A0 00:00 root@qemuarm64:/arm32# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm32# ./rustc hello.rs root@qemuarm64:/arm32# ./hello Hello, World! ---------------------------------------------------------------------------= --------------------------------------------- ...poky/build/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/bu= ild/aarch64-poky-linux-gnu/stage2/bin > scp =C2=A0rustc root@192.168.7.6:/a= rm64 rustc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 100% =C2=A0 74KB =C2=A0 4.6MB/s =C2=A0 00:00 root@qemuarm64:/arm64# ls rustc root@qemuarm64:/arm64# vi hello.rs root@qemuarm64:/arm64# cat hello.rs fn main() { println!("Hello, World!"); } root@qemuarm64:/arm64# ./rustc hello.rs root@qemuarm64:/arm64# ./hello Hello, World! --dTxjhTx7f38UHPahcZMT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello Randy,

I verified rust.sh and cargo.sh in the installed sdk those are generated= differently based on the multilib tuning.
...poky/build/tmp/deplo= y/sdk/install > fd rust.sh
sysroots/x86_64-pokysdk-linux/e= nvironment-setup.d/rust.sh
sysroots/x86_64-pokysdk-linux/envi= ronment-setup.d/lib32-rust.sh

...poky/build/tmp/deploy/sdk/install > fd cargo.sh
= sysroots/x86_64-pokysdk-linux/environment-setup.d/cargo.sh
sy= sroots/x86_64-pokysdk-linux/environment-setup.d/lib32-cargo.sh
I tested a sample program on 32 and 64 bit targets and its working. Bel= ow are the steps:
I copied the Rust compiler binaries generated for bo= th armv7at2hf-neon-pokymllib32-linux-gnueabi and cortexa57-pok= y-linux into a QEMU environment and executed a simple "Hello, World!" = program using these binaries. 
 
...poky/build/tmp/= work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-rust/1.74.1/image/usr/= bin > scp -r rustc root@192.168.7.6:/arm32/
rustc   &= nbsp;                    =                100%   13KB &n= bsp; 2.2MB/s   00:00

root@qemuarm64:/arm32# cat he= llo.rs
fn main() {
    println!("Hell= o, World!");
}

root@qemuarm64:/arm32# ./r= ustc hello.rs
root@qemuarm64:/arm32# ./hello
He= llo, World!

-------------------------------------------= ---------------------------------------------------------------------------= --
...poky/build/tmp/work/cortexa57-poky-linux/rust/1.74.1/ru= stc-1.74.1-src/build/aarch64-poky-linux-gnu/stage2/bin > scp  rustc= root@192.168.7.6:/arm64
rustc         &n= bsp;                     =                      = ;                     &nb= sp;             100%   74KB   4.6MB= /s   00:00

root@qemuarm64:/arm64# ls
rustc
root@qemuarm64:/arm64# vi hello.rs
root@= qemuarm64:/arm64# cat hello.rs
fn main() {
&nbs= p;   println!("Hello, World!");
}
root@qem= uarm64:/arm64# ./rustc hello.rs
root@qemuarm64:/arm64# ./hell= o
Hello, World!

--dTxjhTx7f38UHPahcZMT--