Comments (5)
There are some nuances between normal cargo build
and cargo doc
. For each rustc invocation, Cargo requests for dep-info files to deteremine when to rebuild. However, rustdoc
doesn't have the equivalent functionality (yet), so the best-effort solution for now is walking through the file system and record the latest file modified time.
See also the Cargo internal doc for fingerprint.
from cargo.
Byron/gitoxide#1371 has been merged. The next step is waiting for a new release, and determine if we want a beta backport before Gitoxide integration hits stable.
from cargo.
The fix for this is in this PR, and it works by adding lenient_config
support to all paths gitoxide
would encounter. Previously, it would always reject empty paths, but now it will ignore these.
Note that the repository is opened with default options, which uses the lenient_config
mode by default. This also means that in its current form, cargo
depends on a default value, but it's one that I don't intend to change.
Lastly, I plan to create a new release in the coming week and hope I will do my best to not forget to upgrade gix
here.
from cargo.
thanks for the quick response and insights.
one thing is still not clear to me though: I only get this error when I do cargo doc
, but other sub commands (check, build, run, fmt, etc.) are not affected at all. I wonder if the doc
command triggers this by accident, or is it fundamental different how doc
works than the other commands?
from cargo.
Close as #13948 should have resolved this. The new nightly cargo should come out on this Friday/Saturday. Let us know if the issue persists then.
from cargo.
Related Issues (20)
- build.rustflags config ignored, while inlines RUSTFLAGS works HOT 4
- `cargo update --breaking` doesn't work like `cargo upgrade -i` HOT 3
- New env vars for better support custom targets-spec for build-scripts HOT 1
- Mismatch rust version in cargo and global installation HOT 1
- Download speed 16 kB/s HOT 1
- Allow `--crate-type` for binaries HOT 1
- The file path in the diagnostic message contains duplicate separators on windows HOT 6
- Different git shas for the same git repo in Cargo.lock silently ignored HOT 1
- Third-party crate warnings exposed in my crate HOT 1
- centralize lint configuration HOT 1
- Cannot build project depending on serde using Cargo from 2017 HOT 3
- Cargo crawls subdirectories even when given `--manifest-path` HOT 18
- Build script warnings don't respect `--message-format=json`. HOT 2
- `cargo bench` fails when running `unittest`s HOT 7
- cargo does not load workspace .cargo/config.toml HOT 1
- cargo publish --dry-run doesn't perform metadata checks HOT 2
- Cargo does not seem to always propagate `cfg(clippy)` correctly to dependencies HOT 2
- warning: output filename collision. HOT 5
- `cargo clean` does not clean downloaded crates HOT 3
- silence warnings in the terminal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo.