hermit-os / hermit-os/kernel

Move uhyve constants to separate crate

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
design enhancement refactor Uhyve
Dominant language
Rust
Stars
1.5k
Forks
132
Avg merge
1d 14h
Merged PRs (30d)
39

Description

https://github.com/hermitcore/libhermit-rs/blob/fe69c31ac45342b13c65c19dc738a494353e9d90/src/syscalls/interfaces/uhyve.rs#L20

Copy/Pasting the constants is error prone. It might be more elegant to move out the _src/consts.rs_ to a separate (`no_std`) crate `uhyve-api` and depend on it from uhyve and from libhermit.

On the other hand, I have to admit that this is just a very minor problem...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.