cargo icon indicating copy to clipboard operation
cargo copied to clipboard

The Rust package manager

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

### Summary Original issue: #8424, #14258 Implementation: #14388 Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#warnings Allows control over warnings via a new Cargo configuration option `build.warnings`. ### Unresolved Issues - [ ] What operations should...

A-diagnostics
C-tracking-issue
A-lints

This issue is intended for tracking performance related discussion and benchmarks for #14136. #14136 itself is for overall progress reports. Useful cargo script to summarize number and size of files...

A-rebuild-detection
C-tracking-issue
Performance
Z-checksum-freshness

### What does this PR try to resolve? Before, [`resolve_all_features()`](https://github.com/rust-lang/cargo/blob/13695497cd3060ba2700a5552b3397c451456a89/src/cargo/ops/cargo_compile/mod.rs#L1001-L1032) isn't filtering dependencies, as it uses the set returned by [`Resolve::deps()`](https://github.com/rust-lang/cargo/blob/0f14d9d2fa4ca7ebee982e6015e98b0d28495390/src/cargo/core/resolver/resolve.rs#L327-L330) directly which is mostly unfiltered. This PR fixes it...

S-waiting-on-review
A-cargo-targets

If I set `crate-type=["dylib"]` in `Cargo.toml`, I would expect it to not only compile the top-level crate as dynamic, but also all its transitive dependencies, and link with them dynamically...

A-linkage
C-feature-request
S-needs-design

### Problem We have many situations where people would find additional information useful for new users at the cost of output blot. Potential cases - `cargo new`s `see more `Cargo.toml`...

A-configuration
A-diagnostics
C-feature-request
S-needs-info

### What does this PR try to resolve? Adds `proc_macro` information to the index. Opening as draft as this is still an experiment and isn't ready for merge, especially the...

Command-publish
A-interacts-with-crates.io
Command-package
A-dependency-resolution
A-registries
A-manifest
A-testing-cargo-itself
S-waiting-on-author
A-features2

Add `value_hint` for the global `--config` argument to allow completing its value. The related https://github.com/rust-lang/cargo/pull/16245#issuecomment-3524529383 adds partial support to `src/etc/cargo.bashcomp.sh`. ### What does this PR try to resolve? Currently, `native-completions`...

S-waiting-on-review
A-cli

### Problem In xshell, my macos builds fail fairly frequently with ``` command was terminated by a signal `cargo test --workspace --no-run`: 9 ``` See, eg https://github.com/matklad/xshell/runs/5529460783?check_suite_focus=true#step:4:22 What specifically happens...

C-bug
Command-test
O-macos
S-triage

### Problem Users may want to install a rust binary crate to `/usr/local/bin`, not to `$HOME/.cargo/bin`, and this can be archived by `--root` flag of `cargo install`. And normal users...

C-bug
Command-install
A-rebuild-detection
S-triage

### Problem I'd like to treat some crates in my workspace as independent packages because they will be built in the Cloud independently from the other crates in the workspace....

A-workspaces
C-feature-request
S-triage