Comments (3)
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.
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:
- Embed whole source (you're right, unpleasantly big). Could be a git submodule?
- Download source (this is what it does now, I guess), but maybe without (all) the building.
- Download binary and extract header and qemu_plugin_api.lib (once qemu 8.2 gets released).
- 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.
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
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 cannonball.