enarx-archive / sallyport

API for the hypervisor-microkernel boundary
Apache License 2.0
7 stars 6 forks source link

[Feature]: Use upstream `libc` in tests #126

Closed rvolosatovs closed 2 years ago

rvolosatovs commented 2 years ago

Is there an existing issue for this?

Description

Since #121 we are using in-crate libc in tests and for that we have to maintain e.g. bindings to libc functions https://github.com/enarx/sallyport/blob/72ab756b0aaf77e2537bee23001e8163f40d00bd/src/libc.rs#L182-L188

But these are only used in tests and we use std in tests anyway, so we are transitively using libc regardless.

Acceptance Criteria

No response

Suggestions for a technical implementation

Partially revert #121 and just use libc in tests