Skip to content

Commit

Permalink
Generate Ruby struct information programatically
Browse files Browse the repository at this point in the history
Using rbspy's bindgen-generated structures for the ABI we rely on.
There's some fields that we need that haven't been generated, so still
hardcoding these for the time being

The xtask binary to generate the Ruby configuration is quite repetitive
and could be improved by using macros at some point

Signed-off-by: Francisco Javier Honduvilla Coto <javierhonduco@gmail.com>
  • Loading branch information
javierhonduco committed Oct 16, 2022
1 parent da26e9e commit ec4724d
Show file tree
Hide file tree
Showing 14 changed files with 726 additions and 75 deletions.
5 changes: 4 additions & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[target.x86_64-unknown-linux-gnu]
runner = "sudo -E"
runner = "sudo -E"

[alias]
xtask = "run --package xtask --"
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
Loading

0 comments on commit ec4724d

Please sign in to comment.