Giter Club home page Giter Club logo

Comments (2)

mjt0k avatar mjt0k commented on September 17, 2024

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.

Ablu avatar Ablu commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.