Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

WIP feat: use primordial git HEAD (future 0.2 release) #310

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haraldh
Copy link
Contributor

@haraldh haraldh commented Jan 26, 2021

usize::from(a) as _ can be transformed to
a.try_into().or(Err(libc::EINVAL))?

with the not yet released primordial 0.2

Because the sgx crate still uses primordial 0.1,
internal/shim-sgx/src/event.rs and internal/shim-sgx/src/handler.rs
are force transmuted as a workaround for now.

Signed-off-by: Harald Hoyer [email protected]

`usize::from(a) as _` can be transformed to
`a.try_into().or(Err(libc::EINVAL))?`

with the not yet released primordial 0.2

Because the `sgx` crate still uses primordial 0.1,
`internal/shim-sgx/src/event.rs` and `internal/shim-sgx/src/handler.rs`
are force transmuted as a workaround for now.

Signed-off-by: Harald Hoyer <[email protected]>
@connorkuehl connorkuehl removed their request for review August 25, 2021 20:51
@connorkuehl connorkuehl removed their assignment Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants