Skip to content

Commit

Permalink
fix(oxc_napi): add napi build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Feb 11, 2025
1 parent 81c81a7 commit f2601b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions crates/oxc_napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ workspace = true

[lib]
doctest = false
crate-type = ["lib", "rlib", "cdylib"]

[dependencies]
napi = { workspace = true }
napi-derive = { workspace = true }
oxc_diagnostics = { workspace = true }

[build-dependencies]
napi-build = { workspace = true }

[package.metadata.cargo-shear]
ignored = ["napi"]
3 changes: 3 additions & 0 deletions crates/oxc_napi/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
napi_build::setup();
}

0 comments on commit f2601b8

Please sign in to comment.