-
-
Notifications
You must be signed in to change notification settings - Fork 793
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
Add Deserialize impl for CStr #811
Conversation
The method is in nightly but you are missing an underscore. 😉 |
Haha, I am indeed. Fix coming shortly. |
I'm not entirely sure how to run the tests including the
builds, but doesn't run them, and
errors out saying that there's no such feature? |
And
comes back with a whole host of errors from |
Yep the unstable testing situation was pretty messed up. I think I fixed it in dd6989d. |
The compiletest setup is unfortunately really fragile in how it detects and links dependencies. Try the following:
|
Oooh, I completely missed the
The other commands worked fine though, and all tests passed! I guess technically we should now have a way of monitoring when |
Looks like the workspace issue is fixed in nightly: I don't think we need an issue to track stabilizing this. Typically for every major release of Serde we decide what the minimum supported Rust version should be and then we remove as many of the #[cfg(feature = "unstable")] as possible. |
Fixes #810.
I've scoped the
impl
underfeature="unstable"
for now (don't know what the policy for that feature is), but this should possibly not be merged until rust-lang/rust#40380 lands and fully stabilizesCString::into_boxed_c_str
. At that point,feature="unstable"
should obviously be removed.