build(napi): fix docsrs build
This commit is contained in:
parent
1a23ab4606
commit
be8e0f09e6
1 changed files with 1 additions and 1 deletions
|
@ -34,4 +34,4 @@ optional = true
|
|||
napi-build = { version = "0.2", path = "../build" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustc-args = ["--cfg", "docsrs"]
|
||||
rustc-args = ["--cfg", "napidocsrs"]
|
||||
|
|
Loading…
Reference in a new issue