public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/3]: Fix RustPkg/Tests in edkii-rust branch edk2-staging
@ 2022-03-19  7:05 ayushdevel1325
  2022-03-19  7:05 ` [PATCH v1 1/3] RustPkg/Test: Replace cargo-xbuild with build-std Ayush Singh
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: ayushdevel1325 @ 2022-03-19  7:05 UTC (permalink / raw)
  To: devel

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-19 21:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-19  7:05 [PATCH v1 0/3]: Fix RustPkg/Tests in edkii-rust branch edk2-staging ayushdevel1325
2022-03-19  7:05 ` [PATCH v1 1/3] RustPkg/Test: Replace cargo-xbuild with build-std Ayush Singh
2022-03-19  7:05 ` [PATCH v1 2/3] RustPkg/Test/TestRustLangLib: Fix Building Ayush Singh
2022-03-19  7:05 ` [PATCH v1 3/3] RustPkg/Test/TestRustLangApp: Fix building Ayush Singh
2022-03-19  8:40 ` [edk2-devel] [PATCH v1 0/3]: Fix RustPkg/Tests in edkii-rust branch edk2-staging Marvin Häuser
2022-03-19  8:46   ` Ayush Singh
2022-03-19 13:59   ` Yao, Jiewen
2022-03-19 14:14     ` Ayush Singh
2022-03-19 14:36       ` Yao, Jiewen
2022-03-19 21:11         ` Ayush Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox