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)
- dubiously overconstrained warnings about project-level configuration file name HOT 2
- Add `--workspace` to `cargo add` HOT 3
- In `Cargo.toml` I missspelled "version" and it still worked, but after I corrected it I now get compile errors. HOT 3
- Windows `\\?\` verbatim paths break idiomatic use of OUT_DIR and `include!` HOT 4
- Build host architecture is written into metadata hash for compilation units, breaking reproducibility of output between host platforms HOT 8
- $CARGO_HOME/.cargo/config.toml does not respect XDG specifications HOT 2
- Allow passing a `credentials.toml` file path as a CLI arg for `cargo login` and `cargo publish` HOT 7
- False positives in dead code warning HOT 2
- Add `--all-features` to `cargo add` HOT 3
- Allow using `cargo install --git <url>` to install latest tag HOT 2
- Reduce logs output of `--check-cfg` args HOT 4
- Nondeterministic resolution (?) causing dependency to flap in Cargo.lock HOT 3
- Lints table allows both `-` and `_` separators, including allowing redundant entries. HOT 1
- Workspace unexpected-cfg lint configuration does not apply to integration test. HOT 3
- Remove `cargo::rustc-check-cfg` to only have one place to configure the `unknown_cfgs` lint HOT 8
- Location of patch information HOT 4
- The output from `cargo package --list` is not good for workspaces HOT 5
- Recommendations for workspace creation HOT 1
- cargo-upgrade verbose option broken HOT 3
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.