Skip to content

Commit

Permalink
Merge #302
Browse files Browse the repository at this point in the history
302: Mark ByteBuffer as Send r=jethrogb a=mzohreva



Co-authored-by: Mohsen Zohrevandi <mohsen.zohrevandi@fortanix.com>
  • Loading branch information
bors[bot] and mzohreva authored Dec 1, 2020
2 parents 798f26b + 361c41b commit e957d20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fortanix-sgx-abi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ pub struct ByteBuffer {
pub len: usize
}

#[cfg_attr(feature = "rustc-dep-of-std", unstable(feature = "sgx_platform", issue = "56975"))]
unsafe impl Send for ByteBuffer {}

/// Error code definitions and space allocation.
///
/// Only non-zero positive values are valid errors. The variants are designed
Expand Down

0 comments on commit e957d20

Please sign in to comment.