Skip to content

Commit

Permalink
Update the readme to add default-features = false (#272)
Browse files Browse the repository at this point in the history
Without `default-features = false` some Linux users may encounter build issues. The examples have included this in the Cargo.toml files, but if you are like me I copyed from the README while working on MacOS, and then encounterd this issue later on when working on Linux.
  • Loading branch information
SteveMcFarlin committed Oct 19, 2023
1 parent cf58a24 commit 1d798b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ node-bindgen = { version = "6.0" }
Then add ```node-bindgen```'s procedure macro to your build-dependencies as below:
```
[build-dependencies]
node-bindgen = { version = "6.0", features = ["build"] }
node-bindgen = { version = "6.0", default-features = false, features = ["build"] }
```

Then update crate type to ```cdylib``` to generate node.js compatible native module:
Expand Down

0 comments on commit 1d798b3

Please sign in to comment.