-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Comparing changes
Open a pull request
base repository: rust-lang/cargo
base: 9295ea6de1c7af2f6570a9599842cbc13b05a75a
head repository: rust-lang/cargo
compare: 0a58fce653c5580246246478c1240c4f1063e580
- 16 commits
- 17 files changed
- 6 contributors
Commits on Oct 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1b4fbfb - Browse repository at this point
Copy the full SHA 1b4fbfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9141199 - Browse repository at this point
Copy the full SHA 9141199View commit details -
add unsupported short suggestion for
--configflagSigned-off-by: hi-rustin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2400e42 - Browse repository at this point
Copy the full SHA 2400e42View commit details -
Configuration menu - View commit details
-
Copy full SHA for e287f43 - Browse repository at this point
Copy the full SHA e287f43View commit details -
Auto merge of #12777 - hi-rustin:rustin-patch-short-config-flag, r=we…
…ihanglo Add test for unsupported short config flag
Configuration menu - View commit details
-
Copy full SHA for cacebf8 - Browse repository at this point
Copy the full SHA cacebf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aa1a95 - Browse repository at this point
Copy the full SHA 4aa1a95View commit details -
Auto merge of #12781 - dvdhrm:pr/target-typo, r=epage
cargo/targets: fix error-message typo Fix typo: "with with" -> "with"
Configuration menu - View commit details
-
Copy full SHA for fc790e7 - Browse repository at this point
Copy the full SHA fc790e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e5dac1 - Browse repository at this point
Copy the full SHA 9e5dac1View commit details -
Auto merge of #12782 - Turbo87:new-crate-docs, r=epage
crates-io: Add doc comment for `NewCrate` struct This PR adds a small doc comment to the `NewCrate` struct in the `crates-io` package, linking to https://doc.rust-lang.org/cargo/reference/registry-web-api.html#publish to give additional context. I saw other links to https://doc.rust-lang.org in some of the doc comments, so I'm hoping this is correct vs. linking directly to the file with a relative path?
Configuration menu - View commit details
-
Copy full SHA for 294fe8f - Browse repository at this point
Copy the full SHA 294fe8fView commit details -
Auto merge of #12775 - rust-lang:renovate/latest-msrv-1.x, r=epage
chore(deps): update latest msrv to v1.73 [](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [latest-msrv](https://github.com/rust-lang/rust) | minor | `1.72.0` -> `1.73` | --- ### Release Notes <details> <summary>rust-lang/rust (latest-msrv)</summary> ### [`v1.73`](https://github.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1730-2023-10-05) [Compare Source](https://github.com/rust-lang/rust/compare/1.72.0...1.73.0) \========================== <a id="1.73.0-Language"></a> ## Language - [Uplift `clippy::fn_null_check` lint as `useless_ptr_null_checks`.](https://github.com/rust-lang/rust/pull/111717/) - [Make `noop_method_call` warn by default.](https://github.com/rust-lang/rust/pull/111916/) - [Support interpolated block for `try` and `async` in macros.](https://github.com/rust-lang/rust/pull/112953/) - [Make `unconditional_recursion` lint detect recursive drops.](https://github.com/rust-lang/rust/pull/113902/) - [Future compatibility warning for some impls being incorrectly considered not overlapping.](https://github.com/rust-lang/rust/pull/114023/) - [The `invalid_reference_casting` lint is now **deny-by-default** (instead of allow-by-default)](https://github.com/rust-lang/rust/pull/112431) <a id="1.73.0-Compiler"></a> ## Compiler - [Write version information in a `.comment` section like GCC/Clang.](https://github.com/rust-lang/rust/pull/97550/) - [Add documentation on v0 symbol mangling.](https://github.com/rust-lang/rust/pull/97571/) - [Stabilize `extern "thiscall"` and `"thiscall-unwind"` ABIs.](https://github.com/rust-lang/rust/pull/114562/) - [Only check outlives goals on impl compared to trait.](https://github.com/rust-lang/rust/pull/109356/) - [Infer type in irrefutable slice patterns with fixed length as array.](https://github.com/rust-lang/rust/pull/113199/) - [Discard default auto trait impls if explicit ones exist.](https://github.com/rust-lang/rust/pull/113312/) - Add several new tier 3 targets: - [`aarch64-unknown-teeos`](https://github.com/rust-lang/rust/pull/113480/) - [`csky-unknown-linux-gnuabiv2`](https://github.com/rust-lang/rust/pull/113658/) - [`riscv64-linux-android`](https://github.com/rust-lang/rust/pull/112858/) - [`riscv64gc-unknown-hermit`](https://github.com/rust-lang/rust/pull/114004/) - [`x86_64-unikraft-linux-musl`](https://github.com/rust-lang/rust/pull/113411/) - [`x86_64-unknown-linux-ohos`](https://github.com/rust-lang/rust/pull/113061/) - [Add `wasm32-wasi-preview1-threads` as a tier 2 target.](https://github.com/rust-lang/rust/pull/112922/) Refer to Rust's \[platform support page]\[platform-support-doc] for more information on Rust's tiered platform support. <a id="1.73.0-Libraries"></a> ## Libraries - [Add `Read`, `Write` and `Seek` impls for `Arc<File>`.](https://github.com/rust-lang/rust/pull/94748/) - [Merge functionality of `io::Sink` into `io::Empty`.](https://github.com/rust-lang/rust/pull/98154/) - [Implement `RefUnwindSafe` for `Backtrace`](https://github.com/rust-lang/rust/pull/100455/) - [Make `ExitStatus` implement `Default`](https://github.com/rust-lang/rust/pull/106425/) - [`impl SliceIndex<str> for (Bound<usize>, Bound<usize>)`](https://github.com/rust-lang/rust/pull/111081/) - [Change default panic handler message format.](https://github.com/rust-lang/rust/pull/112849/) - [Cleaner `assert_eq!` & `assert_ne!` panic messages.](https://github.com/rust-lang/rust/pull/111071/) - [Correct the (deprecated) Android `stat` struct definitions.](https://github.com/rust-lang/rust/pull/113130/) <a id="1.73.0-Stabilized-APIs"></a> ## Stabilized APIs - [Unsigned `{integer}::div_ceil`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.div_ceil) - [Unsigned `{integer}::next_multiple_of`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.next_multiple_of) - [Unsigned `{integer}::checked_next_multiple_of`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.checked_next_multiple_of) - [`std::ffi::FromBytesUntilNulError`](https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesUntilNulError.html) - [`std::os::unix::fs::chown`](https://doc.rust-lang.org/stable/std/os/unix/fs/fn.chown.html) - [`std::os::unix::fs::fchown`](https://doc.rust-lang.org/stable/std/os/unix/fs/fn.fchown.html) - [`std::os::unix::fs::lchown`](https://doc.rust-lang.org/stable/std/os/unix/fs/fn.lchown.html) - [`LocalKey::<Cell<T>>::get`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.get) - [`LocalKey::<Cell<T>>::set`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set) - [`LocalKey::<Cell<T>>::take`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take) - [`LocalKey::<Cell<T>>::replace`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace) - [`LocalKey::<RefCell<T>>::with_borrow`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow) - [`LocalKey::<RefCell<T>>::with_borrow_mut`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow_mut) - [`LocalKey::<RefCell<T>>::set`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set-1) - [`LocalKey::<RefCell<T>>::take`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take-1) - [`LocalKey::<RefCell<T>>::replace`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace-1) These APIs are now stable in const contexts: - [`rc::Weak::new`](https://doc.rust-lang.org/stable/alloc/rc/struct.Weak.html#method.new) - [`sync::Weak::new`](https://doc.rust-lang.org/stable/alloc/sync/struct.Weak.html#method.new) - [`NonNull::as_ref`](https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.as_ref) <a id="1.73.0-Cargo"></a> ## Cargo - [Encode URL params correctly for `SourceId` in `Cargo.lock`.](https://github.com/rust-lang/cargo/pull/12280/) - [Bail out an error when using `cargo::` in custom build script.](https://github.com/rust-lang/cargo/pull/12332/) <a id="1.73.0-Misc"></a> ## Misc <a id="1.73.0-Compatibility-Notes"></a> ## Compatibility Notes - [Update the minimum external LLVM to 15.](https://github.com/rust-lang/rust/pull/114148/) - [Check for non-defining uses of return position `impl Trait`.](https://github.com/rust-lang/rust/pull/112842/) <a id="1.73.0-Internal-Changes"></a> ## Internal Changes These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools. - [Remove LLVM pointee types, supporting only opaque pointers.](https://github.com/rust-lang/rust/pull/105545/) - [Port PGO/LTO/BOLT optimized build pipeline to Rust.](https://github.com/rust-lang/rust/pull/112235/) - [Replace in-tree `rustc_apfloat` with the new version of the crate.](https://github.com/rust-lang/rust/pull/113843/) - [Update to LLVM 17.](https://github.com/rust-lang/rust/pull/114048/) - [Add `internal_features` lint for internal unstable features.](https://github.com/rust-lang/rust/pull/108955/) - [Mention style for new syntax in tracking issue template.](https://github.com/rust-lang/rust/pull/113586/) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* * * * *" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
Configuration menu - View commit details
-
Copy full SHA for 637ade0 - Browse repository at this point
Copy the full SHA 637ade0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ffed4 - Browse repository at this point
Copy the full SHA 24ffed4View commit details -
refactor(toml): Use explicit deserialize
Unsure if we want to generalize the trim policy but this will make it much easier to support an optional version field in future commits since we can just wrap the type in `Option` Strangely, `UntaggedEnumDeserializer` isn't causing bad error messages, so we can keep using it.
Configuration menu - View commit details
-
Copy full SHA for 4bedf9b - Browse repository at this point
Copy the full SHA 4bedf9bView commit details -
feat(toml): Allow versionless packages
This defaults the version to `0.0.0` for most of cargo. It is an error to lack a version and have a package publishable. That means you have to add `publish = false`.
Configuration menu - View commit details
-
Copy full SHA for 48af530 - Browse repository at this point
Copy the full SHA 48af530View commit details -
Configuration menu - View commit details
-
Copy full SHA for b70f23d - Browse repository at this point
Copy the full SHA b70f23dView commit details -
fix(toml): Default package.publish based on presence of package.version
Before the default was hardcoded to `true`. The problem was that means that to remove the `package.version` boilerplate, you had to add `package.publish = false` boilerplate. To make the errors easier to understand in this situation, I err on the side of encouraging people to put `publish = true` in their manifests. By making this change, we also unblock "cargo script" / `Cargo.toml` unifying the handling of `package.publish`.
Configuration menu - View commit details
-
Copy full SHA for 6e2b343 - Browse repository at this point
Copy the full SHA 6e2b343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a58fce - Browse repository at this point
Copy the full SHA 0a58fceView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 9295ea6de1c7af2f6570a9599842cbc13b05a75a...0a58fce653c5580246246478c1240c4f1063e580