Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First, an update:Due to issues where incompatible versions ofclang-sys
pulled in by different versions ofbindgen
would be rejected by Cargo due to duplicatepackage.links
Cargo manifest keys, I have today published the following patch releases for previous minor versions ofclang-sys
so that they can co-exist peacefully (for more info, see this issue):v0.29.4
v0.28.2
v0.27.1
However, this was accomplished with a hack, essentially republishingclang-sys
under a different name (clang-sys-linkage
) asv1.0.0
and then re-exporting that crate from the above patch versions.EDIT: Unfortunately the above strategy did not work due to API incompatibilities I was not aware of.
Going forward,
clang-sys
has been published asv1.0.0
so that future additions to the API can be added in a backwards-compatible way (since1.0.0
and1.1.0
are compatible butv0.29.0
andv0.30.0
are not) so that users will eventually not ever have multiple versions ofclang-sys
in their dependency tree.The bump to
v1.0.0
also includes these changes:clang-sys
build script aboutllvm-config
failing to execute are no longer printed unless the build script fails to find an instance oflibclang
libloading
version to0.6.0
since0.5.0
was causing some people problems