Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build.rs might be able to make build process easier. #221

Open
naokiri opened this issue Nov 8, 2022 · 0 comments
Open

Build.rs might be able to make build process easier. #221

naokiri opened this issue Nov 8, 2022 · 0 comments

Comments

@naokiri
Copy link
Owner

naokiri commented Nov 8, 2022

This project now relies on cargo-c and cbindgen to generate C header and lib

On readme it introduces to install them in the env and run those specific commands, but cargo has build.rs build script feature to run on cargo build.

We may be able to avoid running external program and use other crates in build scripts.

Expected feature:

Without installing cbindgen and cargo-c in the environment, just running cargo build ( with some flags ) automatically generates header files and c shared object library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant