Code Monkey home page Code Monkey logo

Comments (3)

novafacing avatar novafacing commented on September 1, 2024

I've been meaning for a while to move this crate to the method I use for a newer bindings crate I've been working on, https://github.com/novafacing/yices2-rs, which uses the method you described (vendored source in a tarball extracted and built in build.rs). Maybe that would work here? I'm totally ok with the idea, and happy for you to give it a go (I'm unfortunately too busy, probably for the rest of the year 😭).

QEMU sources are quite big, my preference for the large files is LFS personally but I'm open to suggestions.

from cannonball.

tocklime avatar tocklime commented on September 1, 2024

Fundamentally, the cannonball library only needs qemu_plugin.h and qemu_plugin_api.lib to build a .dll file that can be used as a plugin. The examples need the qemu_rs crate to do the 'embedding the whole qemu binary' thing, but I'm not so interested in that.

Options:

  1. Embed whole source (you're right, unpleasantly big). Could be a git submodule?
  2. Download source (this is what it does now, I guess), but maybe without (all) the building.
  3. Download binary and extract header and qemu_plugin_api.lib (once qemu 8.2 gets released).
  4. Store just header and qemu_plugin_api.lib in cannonball (ok, but how to update it? do that when? manually?)

I'm toying around with number 4 at the moment. Mostly because it's easiest to get started. I'll have a go and let you know where I get up to.

from cannonball.

novafacing avatar novafacing commented on September 1, 2024

Windows should work with the qemu-plugin crate. I'm deprecating this crate in favor of that one, as it's just all around much better code. All the good stuff from here is there, and there's no junk to get in the way.

from cannonball.

Related Issues (4)

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.