ivila opened a new pull request, #14:
URL: https://github.com/apache/teaclave-crates/pull/14

   This PR adds the OP-TEE adaptation patches for Rust 1.99.0 and libc 0.2.189, 
enabling Rust standard library support for OP-TEE Trusted Applications.
   
   Compared with the previous port:
   
     - `library/std/src/thread/lifecycle.rs` no longer needs to be patched. The 
AArch64 OP-TEE target specification has been fixed to set `singlethread: true`, 
allowing the standard library to
     select its single-threaded implementation. As a result, the multi-threaded 
lifecycle code is not compiled for this target.
     - The C function declarations in `libc/src/optee/mod.rs` have been 
reordered to follow the order of the corresponding OP-TEE header files. This is 
an organizational change and does not
     alter their signatures or behavior.
     - `library/std/src/sys/alloc/optee.rs` has been adapted to the latest Rust 
standard library allocator interface. Instead of implementing `GlobalAlloc` for 
`System`, the OP-TEE backend now
     provides the allocator functions expected by `sys::alloc` and uses 
`realloc_fallback` when the requested alignment cannot be handled directly by 
`libc::realloc`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to