Open b49020 opened 9 months ago
@b49020 Thanks for your proposal!
Let me clarify our goal first:
We absolutely understand the stability and efficiency of no-std
for OPTEE Rust TAs, and are willing to switch to no-std
and set it as default
branch. The std
feature are also planned to be added upon the that branch.
For the transition period:
Considering some of our legacy developers may don't want to switch to new branch due to maintainability of their projects, we still keep the legacy master
branch and accept PRs upon that. It would be better if developers contribute on the new default branch but it depends on them . If the update also makes sense on no-std
branch, we can sync that.
For speeding up the transition period, can we have some description on our README main page which recommend using no-std and it's benefits? If the no-std
is ready (seems there are some CI error), feel free to open the PR of updated README, the default
branch will be set after the documentation is ready. I believe more developers will choose the no-std
then.
Regarding this PR:
I understand the benefit of separate repo which would be clean when we publish it on crate.io
but it's not mandatory for published crates.
I choose not to merge this PR for now because:
optee-utee
and optee-teec
are core modules of incubator-teaclave-trustzone-sdk
repo, if they're moved outside, the incubator-teaclave-trustzone-sdk
repo may be useless (examples and tests can also go with the separate crates).Please correct me if I misunderstand, thanks!
I would propose to have separate git repos for
optee-utee
andoptee-teec
crates such that they can be reused by bothstd
andno-std
OP-TEE Rust examples. This would allow us to avoid divergent OP-TEE crates and rather have single git repos to provide collaborative development environment.For demonstration purpose, I have created two repos using
git subtree split
command as follows:@DemesneGH If you are fine with this approach then please create corresponding 2 new repos for these crates and I will create PRs for those. Once those are in place then we can drop
optee-utee
andoptee-teec
sub-directories from bothmaster
andno-std
branch.