[edk2-devel] [PATCH v1 0/3]: Fix RustPkg/Tests in edkii-rust branch edk2-staging

Marvin Häuser mhaeuser at posteo.de
Sat Mar 19 08:40:04 UTC 2022



> On 19. Mar 2022, at 08:06, Ayush Singh <ayushdevel1325 at gmail.com> wrote:
> 
> CC Jiewen Yao

You didn’t actually CC, done.

Best regards,
Marvin

> 
> This is my 2nd email about this patch to fix edkii-rust branch in
> edk2-staging repo, this time hopefully following contributing procedure
> better.
> 
> I have tried to to fix RustPkg/Test/HelloWorld,
> RustPkg/Test/HelloWorld2, RustPkg/Test/TestRustLangApp, and
> RustPkg/Test/TestRustLangLib. This also meant fixing
> RustPkg/Library/UefiRustIntrinsicLib and
> RustPkg/Library/UefiRustAllocationLib.
> 
> It is also not possible to build this branch with gcc-11 since that will
> require a rebase to edk2/master, but I am not sure how that can be done
> since edk2-staging/master does not track edk2/master like it is supposed
> to according to the edk2-staging/about branch.
> 
> My working repository for these commits can be found at: 
> https://github.com/Ayush1325/edk2-staging/tree/edkii-rust-fix-v1
> 
> Ayush Singh (3):
>  RustPkg/Test: Replace cargo-xbuild with build-std
>  RustPkg/Test/TestRustLangLib: Fix Building
>  RustPkg/Test/TestRustLangApp: Fix building
> 
> RustPkg/Library/UefiRustAllocationLib/src/lib.rs |  53 ++--
> RustPkg/Library/UefiRustIntrinsicLib/src/lib.rs  |   8 -
> RustPkg/Test/HelloWorld/.cargo/config.toml       |   3 +
> RustPkg/Test/HelloWorld2/.cargo/config.toml      |   3 +
> RustPkg/Test/TestRustLangApp/.cargo/config.toml  |   3 +
> RustPkg/Test/TestRustLangApp/src/main.rs         |  95 +++----
> RustPkg/Test/TestRustLangLib/.cargo/config.toml  |   3 +
> RustPkg/Test/TestRustLangLib/src/lib.rs          | 264 ++++++++------------
> 8 files changed, 186 insertions(+), 246 deletions(-)
> create mode 100644 RustPkg/Test/HelloWorld/.cargo/config.toml
> create mode 100644 RustPkg/Test/HelloWorld2/.cargo/config.toml
> create mode 100644 RustPkg/Test/TestRustLangApp/.cargo/config.toml
> create mode 100644 RustPkg/Test/TestRustLangLib/.cargo/config.toml
> 
> -- 
> 2.35.1
> 
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87757): https://edk2.groups.io/g/devel/message/87757
Mute This Topic: https://groups.io/mt/89884782/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list