fortanix / rust-sgx

The Fortanix Rust Enclave Development Platform
https://edp.fortanix.com
Mozilla Public License 2.0
433 stars 98 forks source link

Chore: remove `MakeSendMarker` in favor of direct methods on the underlying types #530

Open vn971 opened 1 year ago

vn971 commented 1 year ago

Currently, async-usercalls uses an artificial MakeSendMarker trait to specify type boundaries for ByteBuffer, User<ByteBuffer>, User<[u8]> (see async-usercalls/src/utils.rs).

Instead, we could implement some of the underlying methods in those 3 types directly. This requires "upstreaming", so we'll first have to wait for async-usercalls changes to be accepted in the rust-lang repository.

raoulstrackx commented 11 months ago

Started on a branch for the compiler

raoulstrackx commented 10 months ago

Submitted a PR