-
Notifications
You must be signed in to change notification settings - Fork 212
docs.rs should ignore rust-toolchain #555
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
Comments
Seems like the Writing mentoring instructions if anyone wants to fix this issue: To fix this issue, a new prepare step to remove that file from the source directory should be added to rustwide, before the manifest is read. In addition to that, a rustwide buildtest needs to be added: create a dummy crate in rustwide's Once rustwide is updated and a new version is released you should open a PR to docs.rs bumping rustwide. If anyone wants to work on this issue please say so in the comments, so we don't have multiple people working on the same issue. If you need help implementing it feel free to comment here or hop on Discord (channel |
I have trouble implementing the test for this. I tried #[test]
fn test_toolchain_override() {
runner::run("toolchain-override", |run| {
run.build(SandboxBuilder::new().enable_networking(false), |build| {
let storage = rustwide::logging::LogStorage::new(LevelFilter::Info);
rustwide::logging::capture(&storage, || -> Result<_, Error> {
build.cargo().args(&["rustc", "--", "--version"]).run()?;
Ok(())
})?;
// some check
Ok(())
})?;
Ok(())
});
} but this doesn't work because it ignores the |
It seems the behavior of docs.rs has changed since the issue was opened.
We'll have to figure out where this new panic is coming from, it only happens in crates with this toolchain error (I checked with |
running |
Yes I was a little unclear sorry - |
the error is coming from Line 303 in 103cacc
|
okay, so for some reason I'm not sure if this is related to removing the |
dockworker which is a docker client library.
Building this crate failed on docs.rs :(
Crate name:
dockworker
Build failure link:
https://docs.rs/crate/dockworker/0.0.15
Additional details:
On my local machine (Ubuntu 18.04 LTS), building succeeds.
The text was updated successfully, but these errors were encountered: