rust-vmm / vm-memory

Virtual machine's guest memory crate
Apache License 2.0
305 stars 98 forks source link

Implement ByteValued for i128/u128 #238

Closed roypat closed 1 year ago

roypat commented 1 year ago

Summary of the PR

Implements ByteValued for u128/i128, as well as arrays of them.

I also looked at turning the array implementations into one using const generics (to remove the restriction on them being only implemented for array sizes up to 32), but a combination of Default being a super trait of ByteValued and https://github.com/rust-lang/rust/issues/61415 make this impossible

Requirements

Before submitting your PR, please make sure you addressed the following requirements:

vireshk commented 1 year ago

superseded by https://github.com/rust-vmm/vm-memory/pull/242