CC Jiewen Yao

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 (#87753): https://edk2.groups.io/g/devel/message/87753
Mute This Topic: https://groups.io/mt/89884782/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to