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

cbindgen: Pass Rust target-triple to cbindgen #507

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Conversation

jschwe
Copy link
Collaborator

@jschwe jschwe commented Apr 23, 2024

  • cbindgen considers the TARGET environment variable when generating bindings, so we should set the target we are compiling for.

@jschwe jschwe force-pushed the jschwender/cbindgen branch 2 times, most recently from fdd9f27 to bab93fb Compare April 23, 2024 09:52
`cbindgen` considers the `TARGET` environment variable when
generating bindings, so we should set the target we are compiling for.
User may want to generate both a C and a separate C++ header file
@jschwe jschwe enabled auto-merge (rebase) April 23, 2024 11:36
@jschwe jschwe merged commit d60944e into master Apr 23, 2024
36 checks passed
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 this pull request may close these issues.

1 participant