# Rust 1.78.0 pre-release testing

**URL:** <https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737>\
**Category:** announcements\
**Created:** [April 28, 2024, 6:49pm UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737 "2024-04-28T18:49:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [April 28, 2024, 6:49pm UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/1 "2024-04-28T18:49:49Z")

</div>

The 1.78.0 pre-release is ready for testing. The release is scheduled for May 2. [Release notes can be found here.](https://dev-doc.rust-lang.org/1.78.0/releases.html)

You can try it out locally by running:

```plaintext
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable

```

The index is [https://dev-static.rust-lang.org/dist/2024-04-28/index.html](https://dev-static.rust-lang.org/dist/2024-04-28/index.html).

The release team is also thinking about changes to our pre-release process: we'd love your feedback [on this GitHub issue](https://github.com/rust-lang/release-team/issues/16).

---

<div class="post-metadata">

**Author:** ![kpreid](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kpreid/32/8484_2.png) [@kpreid](https://internals.rust-lang.org/u/kpreid)\
**Post date:** [April 28, 2024, 10:09pm UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/2 "2024-04-28T22:09:19Z")

</div>

The release notes include:

> - [`trait Trait: Auto {}`: allow upcasting from `dyn Trait` to `dyn Auto`](https://github.com/rust-lang/rust/pull/119338)

Should that actually be included? As far as I can tell, it is about an improvement to trait object upcasting, which is still an unstable feature overall.

---

<div class="post-metadata">

**Author:** ![Mark\_Simulacrum](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/mark_simulacrum/32/2853_2.png) [@Mark\_Simulacrum](https://internals.rust-lang.org/u/Mark_Simulacrum)\
**Post date:** [April 28, 2024, 11:34pm UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/3 "2024-04-28T23:34:04Z")

</div>

I also asked 🙂 I'm told that the trait upcasting functionality that is still unstable is only for casts that have to modify the vtable. Since auto traits can't have methods, an upcast is trivial (I guess it still changes the vtable but to a statically known one, so not that interesting).

---

<div class="post-metadata">

**Author:** ![quinedot](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/quinedot/32/7294_2.png) [@quinedot](https://internals.rust-lang.org/u/quinedot)\
**Post date:** [April 29, 2024, 12:47am UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/4 "2024-04-29T00:47:56Z")

</div>

It also allows casting from `dyn Trait` to `dyn Trait + Auto` (when `Auto` is a supertrait), which is analogous to a downcast.

---

<div class="post-metadata">

**Author:** ![josh](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/josh/32/5934_2.png) [@josh](https://internals.rust-lang.org/u/josh)\
**Post date:** [April 29, 2024, 1:09am UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/5 "2024-04-29T01:09:47Z")

</div>

Is [Tracking import use types for more accurate redundant import checking by surechen · Pull Request #117772 · rust-lang/rust · GitHub](https://github.com/rust-lang/rust/pull/117772/) (currently listed in the release notes) one of the changes that was reverted on beta and nightly?

---

<div class="post-metadata">

**Author:** ![Mark\_Simulacrum](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/mark_simulacrum/32/2853_2.png) [@Mark\_Simulacrum](https://internals.rust-lang.org/u/Mark_Simulacrum)\
**Post date:** [April 30, 2024, 2:12am UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/6 "2024-04-30T02:12:34Z")

</div>

Happy to drop it if so, I'm not sure where that change landed. My recollection was that parts of it were reverted, but not the full thing. That might be totally false though.

It doesn't really feel like a change that is critical to not put in the notes even if it actually will land a release later, so I'm not particularly worried about getting this wrong though.

---

<div class="post-metadata">

**Author:** ![lcnr](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/lcnr/32/6794_2.png) [@lcnr](https://internals.rust-lang.org/u/lcnr)\
**Post date:** [June 12, 2024, 9:55am UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/7 "2024-06-12T09:55:51Z")

</div>

this is apparently just entirely wrong 😅 we only support `dyn Trait` to `dyn Trait + Auto`.

`dyn Trait` to `dyn Auto` apparently doesn't even work with with `feature(trait_upcasting)` enabled. Opened [`trait Trait: Send`: upcasting from `dyn Trait` to `dyn Send` does not work · Issue #126313 · rust-lang/rust · GitHub](https://github.com/rust-lang/rust/issues/126313) for that.

Fixing my mistake in the relnotes in [fix RELEASES: we do not support upcasting to auto traits by lcnr · Pull Request #126314 · rust-lang/rust · GitHub](https://github.com/rust-lang/rust/pull/126314)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [September 10, 2024, 9:56am UTC](https://internals.rust-lang.org/t/rust-1-78-0-pre-release-testing/20737/8 "2024-09-10T09:56:37Z")

</div>

Closed on September 10, 2024, 9:56am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
