diff options
author | Alan Wu <[email protected]> | 2025-02-06 12:35:00 -0500 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:52:56 +0900 |
commit | 106b328117cd02f22c4344b250e4836475bff59e () | |
tree | ae8ad5a7d94ea5965944689597966bd23999dadd /yjit/bindgen | |
parent | 5e37317cc51bc8349714ccbd8004ae882f56542d (diff) |
make zjit-bindgen runs, but doesn't graft the right things yet
Notes: Merged: https://.com/ruby/ruby/pull/13131
-rw-r--r-- | yjit/bindgen/src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -8,6 +8,7 @@ use std::env; use std::path::PathBuf; const SRC_ROOT_ENV: &str = "YJIT_SRC_ROOT_PATH"; fn main() { // Path to repo is a required input for supporting running `configure` @@ -21,6 +22,8 @@ fn main() { ); let src_root = PathBuf::from(src_root); assert!( src_root.is_dir(), "{} must be set to a path to a directory", @@ -46,7 +49,7 @@ fn main() { .header("vm_callinfo.h") // Our C file for glue code - .header(src_root.join("yjit.c").to_str().unwrap()) // Don't want to copy over C comment .generate_comments(false) |