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

Fix broken documentation build #67

Merged
merged 4 commits into from
Jul 14, 2022
Merged

Fix broken documentation build #67

merged 4 commits into from
Jul 14, 2022

Conversation

scouten-adobe
Copy link
Member

Changes in this pull request

Release 0.5.0 failed to build on docs.rs because the so-called "no-op" C++ code contained a reference to a field that was disabled elsewhere.

This PR fixes the unwanted field reference in the NOOP_FFI case and updates the PR validation loop to more closely mimic the docs.rs runtime environment so we detect future errors of this type.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@scouten-adobe scouten-adobe self-assigned this Jul 14, 2022
@codecov
Copy link

codecov bot commented Jul 14, 2022

Codecov Report

Merging #67 (bfe8618) into main (9532436) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   87.98%   87.98%           
=======================================
  Files           6        6           
  Lines         233      233           
=======================================
  Hits          205      205           
  Misses         28       28           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9532436...bfe8618. Read the comment docs.

@scouten-adobe scouten-adobe merged commit e316bfa into main Jul 14, 2022
@scouten-adobe scouten-adobe deleted the fix-docs-rs branch July 14, 2022 16:48
scouten-adobe added a commit to contentauth/c2pa-rs that referenced this pull request Jul 14, 2022
Release 0.7.1 [failed to build on docs.rs](https://docs.rs/crate/c2pa/0.7.1) because the so-called "no-op" C++ code in XMP Toolkit contained a reference to a field that was disabled elsewhere. (See adobe/xmp-toolkit-rs#67.)

This PR incorporates the fixed version of XMP Toolkit and and updates the PR validation loop to more closely mimic the docs.rs runtime environment so we detect future errors of this type.
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