Skip to content

Commit

Permalink
Keep expanding NAPI macros in the stub codegen_parser_runtime crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Feb 9, 2024
1 parent f447483 commit 3abbdd2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/codegen/parser/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,5 @@ strum_macros = { workspace = true }
# Since the source code is copied over as-is, we need to retain exact feature set with target crate,
# i.e `slang_solidity_node_addon`.
[features]
default = [
"slang_napi_interfaces",
# Don't bother expanding macros in this stub crate; will be done in the target crate.
"napi/noop",
]
default = ["slang_napi_interfaces"]
slang_napi_interfaces = ["dep:napi", "dep:napi-derive"]

0 comments on commit 3abbdd2

Please sign in to comment.