-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New tier-3 targets for TEEOS #652
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed. cc @rust-lang/compiler @rust-lang/compiler-contributors |
Tier 3 targets typically do not require an MCP, just an approval from someone on the compiler team. |
add aarch64-unknown-teeos target TEEOS is a mini os run in TrustZone, for trusted/security apps. The libc of TEEOS is a part of musl. The kernel of TEEOS is micro kernel. This MR is to add a target for teeos. MRs for libc and rust-std are in progress. Compiler team MCP: [MCP](rust-lang/compiler-team#652)
add aarch64-unknown-teeos target TEEOS is a mini os run in TrustZone, for trusted/security apps. The libc of TEEOS is a part of musl. The kernel of TEEOS is micro kernel. This MR is to add a target for teeos. MRs for libc and rust-std are in progress. Compiler team MCP: [MCP](rust-lang/compiler-team#652)
add aarch64-unknown-teeos target TEEOS is a mini os run in TrustZone, for trusted/security apps. The libc of TEEOS is a part of musl. The kernel of TEEOS is micro kernel. This MR is to add a target for teeos. MRs for libc and rust-std are in progress. Compiler team MCP: [MCP](rust-lang/compiler-team#652)
@rustbot label -final-comment-period +major-change-accepted |
Proposal
This MCP proposes to add one new tier 3 targets for TEEOS
Tier 3 target requirements
This is the first time TEEOS be known in Rust. The target name is like most of other target names, with the format of ARCH-VENDOR-OS.
TEEOS will opensource in soon. TEEOS is Mulan-licensed and uses a Clang/musl-based toolchain. There are no legal issues.
Ok
Most of std functions will be supported. The kernel of TEEOS is micro kernel. TEEOS do not support network, file-system, Rwlock, args, env, pipe... , and the thread must join(because the libc of TEEOS is a part of musl, without pthread_detach function).
TEEOS is embedded. Cross compile is necessary. The application run on TEEOS is dynamic-link-library with some special symbol exported. There is a loader in the framework of TEEOS, the loader will load the dynamic-link-library and create process/thread for app. So the tests is not suppoted.
Ok
All TEEOS-specific code is under #[cfg(target_os = "teeos")]
Process
The main points of the Major Change Process are as follows:
@rustbot second
.-C flag
, then full team check-off is required.@rfcbot fcp merge
on either the MCP or the PR.You can read more about Major Change Proposals on forge.
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.
The text was updated successfully, but these errors were encountered: