Closed SteveMcFarlin closed 12 months ago
After reading the old issue and linked fix, taking a look at the examples again, I fixed it simply by adding default-features = false
to the node-bindgen build-dependency
[build-dependencies]
node-bindgen = { version = "6.0.1", default-features = false, features = [
"build",
] }
I believe I copied the build dep for cargo from the README.md while I was initially setting up the project and working on MacOS.
This issue is exactly the same as #195. On MacOS my build works fine, but on Linux it does not within my project. The node-bindgen examples will compile and run just fine on Linux. I will look over the PR that solved the prior issue report, and see if I can fix this. Let me know if you need any further information, or would like me to try anything.
Linux: Pop!_OS 22.04 LTS Rust Version: rustc 1.73.0 (cc66ad468 2023-10-03) Node Version: v16.16.0 node-bindgen: 6.0.1 build command:
nj-cli build -- --lib --features="node-bindgen"
Cargo.toml