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

0.12.2 release preparation #401

Merged
merged 2 commits into from
Mar 29, 2024
Merged

0.12.2 release preparation #401

merged 2 commits into from
Mar 29, 2024

Conversation

cpu
Copy link
Member

@cpu cpu commented Mar 28, 2024

cpu added 2 commits March 28, 2024 15:21
Presently we pre-generate the rustls.h header file using `cbindgen`,
commit the result to `src/rustls.h`, and check that the generated result
matches the checked-in result in CI.

The new experimental cargo-c build regenerates its own header file using
`cbindgen` by default unless told to do otherwise. We'd prefer it didn't
do this because we're using a `cbindgen` feature that requires nightly
rust.

This commit updates the `Cargo.toml` capi metadata to tell cargo-c to
skip generation of its own header file. We then configure the
pre-generated checked-in header file as an asset to be copied into the
install include directory.

This better matches how the `Makefile` build allowed building the static
lib without needing nightly rust or `cbindgen`.
@cpu cpu self-assigned this Mar 28, 2024
@cpu cpu requested review from jsha and ctz March 28, 2024 19:28
@cpu cpu merged commit b7b3162 into rustls:rel-0.12 Mar 29, 2024
22 checks passed
@cpu cpu deleted the cpu-0.12.2-prep branch March 29, 2024 13:31
@cpu
Copy link
Member Author

cpu commented Mar 29, 2024

  • Created v0.12.2 tag.
  • Published rustls-ffi v0.12.2 at registry crates-io.
  • Created 0.12.2 GitHub release.

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.

None yet

3 participants