Skip to content

Commit

Permalink
fix(runtime-c-api) Update cbindgen.
Browse files Browse the repository at this point in the history
When requiring `wasmer-runtime-c-api`, I get the following conflicts:

```
error: failed to select a version for `serde_derive`.
    ... required by package `cbindgen v0.7.1`
    ... which is depended on by `wasmer-runtime-c-api v0.2.1`
    ... which is depended on by `foo v0.1.0 (/private/tmp/foo)`
versions that meet the requirements `= 1.0.58` are: 1.0.58

all possible versions conflict with previously selected packages.

  previously selected package `serde_derive v1.0.89`
    ... which is depended on by `wasmer-runtime-core v0.2.1`
    ... which is depended on by `wasmer-runtime-c-api v0.2.1`
    ... which is depended on by `foo v0.1.0 (/private/tmp/foo)`

failed to select a version for `serde_derive` which could resolve this conflict
```

This issue resolves by updating `cbindgen` to 0.8.
  • Loading branch information
Hywan committed Mar 5, 2019
1 parent 65ec109 commit 8ed340b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime-c-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ libc = "0.2"
crate-type = ["cdylib"]

[build-dependencies]
cbindgen = { version = "0.7.1", optional = true }
cbindgen = { version = "0.8", optional = true }

[features]
generate-c-api-headers = ["cbindgen"]
Expand Down

0 comments on commit 8ed340b

Please sign in to comment.