denoland / deno_bindgen

Write high-level Deno FFI libraries in Rust.
MIT License
274 stars 28 forks source link

Can't generate bindgens for OXC crate #149

Open Sleepful opened 4 months ago

Sleepful commented 4 months ago

deno_bindgen -o mod.ts (the rust crate deno_bindgen_cli + deno_bindgen = "=0.9.0-alpha") hangs indefinitely when the project has the oxc dependency. Any empty project will do, then run cargo add oxc and then try to deno_bindgen -o mod.ts, it never finishes.

alternatively, the issue happens when using cargo add oxc_ast or cargo add oxc_parser, it doesn't happen when only using some other subparts like oxc_allocator or oxc_span