cargo icon indicating copy to clipboard operation
cargo copied to clipboard

The Rust package manager

Results 663 cargo issues
Sort by recently updated
recently updated
newest added

### Call for testing The MSRV-aware resolver part of this RFC is implemented and we are wanting to collect feedback in preparation for stabilization. The goal is to allow you...

A-dependency-resolution
S-waiting-on-feedback

Fixes #13868. The build error in the issue will now include a suggestion: ``` Compiling zerocopy v0.8.0-alpha.9 error: the `cargo::` syntax for build script output instructions was added in Rust...

A-build-scripts
S-waiting-on-review

### Problem I'm working on a crate registry where I'm able to advertise a set of crate versions that *may* be generated, but the crates themselves are only lazily generated...

C-feature-request
A-registries
S-needs-info

### Problem Recently standardized `--check-cfg` started triggering in my project. There is some common pattern in crates that want to use another nightly feature, `doc_cfg`, to do stuff like: ```toml...

C-bug
A-documenting-cargo-itself
S-needs-design

Currently, zerocopy's `build.rs` script contains the following: ```rust for version_cfg in version_cfgs { if rustc_version >= version_cfg.version { println!("cargo:rustc-cfg={}", version_cfg.cfg_name); } } ``` We have a lot of `cfg`s that...

E-easy
A-diagnostics
A-build-scripts
S-accepted

Fixes #13862 Dependencies with same package name in the `Cargo.lock` was squashed in `EncodableResolve::into_resolve()`. e.g. In the problem reproduction repo's Cargo.lock, there are two entries: ```toml [[package]] name = "once_cell"...

A-dependency-resolution
S-waiting-on-review
A-lockfile

### What does this PR try to resolve? Currently, when using `-Zbuild-std`, Cargo passes a `--sysroot` argument down to the relevant `rustc` invocations. However, the value of this argument is...

A-documenting-cargo-itself
A-build-scripts
S-waiting-on-author

### Problem Currently `cargo --list` prints descriptions only for the builtin subcommands. For third-party subcommands like `cargo expand` it does not print a description. ```console $ cargo --list Installed Commands:...

C-feature-request
S-needs-design
A-custom-subcommands
Command-list

### Problem The `panic` setting is ignored for benchmarks since (by default) they link `libtest` which is compiled with `panic = "unwind"`. This would otherwise lead to confusing errors at...

Command-test
Command-bench
C-feature-request
A-profiles
S-needs-info

### Problem Occasionally, crates release a semver-violating version that causes breakage when consumed. Cargo currently has two main features to address this issue: 1. Crate authors can mark the offending...

C-feature-request
A-dependency-resolution
A-patch
S-needs-info