Skip to content

Support configure features for C binding #4313

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

Closed
xxchan opened this issue Mar 4, 2024 · 1 comment · Fixed by #6143
Closed

Support configure features for C binding #4313

xxchan opened this issue Mar 4, 2024 · 1 comment · Fixed by #6143
Assignees

Comments

@xxchan
Copy link
Member

xxchan commented Mar 4, 2024

Most of C binding users will write their own Makefile. We can define some envs and read them in build.rs, but it may need another PR to implement. Do you have interest?

Originally posted by @Xuanwo in #4311 (comment)

@asukaminato0721
Copy link
Contributor

asukaminato0721 commented May 2, 2025

I tend to implement it in CMakeLists and use option to configure them.

ref https://users.rust-lang.org/t/how-to-set-rustflags-by-build-rs-optionally/125686/6

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

Successfully merging a pull request may close this issue.

2 participants