-
Notifications
You must be signed in to change notification settings - Fork 198
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
safer-ffi-gen 0.9.2 failed to build #2314
Comments
Looking at the You probably have to do the same. |
Thank you for your answer. Unless I misunderstood, that does not explain why git diff 0.9.1..0.9.2 diff --git a/safer-ffi-gen-macro/Cargo.toml b/safer-ffi-gen-macro/Cargo.toml
index 444efea..c5b8ed3 100644
--- a/safer-ffi-gen-macro/Cargo.toml
+++ b/safer-ffi-gen-macro/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "safer-ffi-gen-macro"
-version = "0.9.1"
+version = "0.9.2"
authors = ["Tom Leavy", "Stephane Raux"]
description = "Proc macro implementation for safer-ffi-gen"
edition = "2021"
diff --git a/safer-ffi-gen/Cargo.toml b/safer-ffi-gen/Cargo.toml
index 09db9cd..e5a3cf5 100644
--- a/safer-ffi-gen/Cargo.toml
+++ b/safer-ffi-gen/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "safer-ffi-gen"
-version = "0.9.1"
+version = "0.9.2"
authors = ["Tom Leavy", "Stephane Raux"]
description = "FFI wrapper generator based on safer-ffi"
edition = "2021"
@@ -14,7 +14,7 @@ headers = ["safer-ffi/headers", "std"]
std = ["once_cell/std", "safer-ffi/std"]
[dependencies]
-safer-ffi-gen-macro = { path = "../safer-ffi-gen-macro/", version = "0.9.1"}
+safer-ffi-gen-macro = { path = "../safer-ffi-gen-macro/", version = "0.9.2"}
safer-ffi = { version = "0.1.3", default-features = false, features = ["alloc", "proc_macros"] }
once_cell = { version = "1.9", default-features = false, features = ["alloc", "critical-section"] } Log of successful build of Both depend on |
There was a new API added to rust-lang/rust#117057 is somewhat related, but about it being in the prelude, it looks like |
Thank you @Nemo157! That seems to be the cause indeed and |
Crate name
safer-ffi-gen
Build failure link
https://docs.rs/crate/safer-ffi-gen/0.9.2/builds/943834
Additional details
safer-ffi-gen 0.9.1
was built and documented successfully by docs.rs. 0.9.2 is identical to 0.9.1 modulo the difference in the patch version number.The failure appears to be due to the dependency
safer-ffi 0.1.3
failing to build. However docs.rs was able to build and document this crate successfully.I was not able to reproduce the failure locally running
cargo doc
.The text was updated successfully, but these errors were encountered: