Comments (2)
Now with vm-memory 0.12 release, it fails in a more difficult way on debian, notable on armel (which also don't have AtomicU64):
https://ci.debian.net/data/autopkgtest/testing/armel/r/rust-vhost-user-backend/35901107/log.gz
234s error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
234s --> /usr/share/cargo/registry/vm-memory-0.12.0/src/bitmap/backend/atomic_bitmap.rs:6:25
234s |
234s 6 | use std::sync::atomic::{AtomicU64, Ordering};
Now AtomicU64 is used in actual bitmap implementation, not only in tests. And this fails on platforms where there's no AtomicU64.
from vm-memory.
vm-memory does not currently support anything but 64-bit. We are making it more explicit with #275. I would recommend to restrict the package to 64-bit on debian.
Adding 32-bit support may be possible, but so far nobody has stated interest and code assumes 64-bit in a couple of places. So if 32bit support is desired I would recommend filing a new issue to discuss what is needed and how it could be pulled off.
from vm-memory.
Related Issues (20)
- Proposal: Improve Cargo dependency format HOT 7
- New release request: 0.8.1 HOT 2
- Update vmm-sys-util dependency to 0.11.0
- Sorry, wrong proces
- tests: "We need to get a mut reference to `self.container`." from non-mut &self reference is UB HOT 2
- While this might be correct for all usecases, this is not safe for 100% of host target scenarios. Quoting the docs: HOT 1
- Introduce custom derive for ByteValued/replace ByteValued with zerocopy HOT 6
- Publish v0.12.1 HOT 1
- Unsoundness: VolatileMemory should be `unsafe`, private, or sealed because it relies on get_slice in unsafe code HOT 3
- vm-memory with perisistent memory
- Build errors with latest nightly toolchain `cargo 1.75.0-nightly (65e297d1e 2023-11-03)` HOT 3
- Crate does not build on nightly HOT 2
- Missing Divide-by-Zero Check
- GuestMemory::try_access() Invariant not Checked
- Test breaking changes against other crates in rust-vmm
- Test `GuestMemory::try_access` error cases
- Unsoundness in `get_atomic_ref` in `volatile_memory.rs` HOT 3
- Get a slice of a `GuestRegionMmap` HOT 5
- `MmapRange` under `xen` feature flag HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vm-memory.